BPY api addition material.freeNodes() - use to cleanup apricot files, since there is no way to remove a node tree via the UI, unused materials and duplicate images were hanging around.

buttons_logic - gave the name a but more room then the controller type, better for documentation screenshots.
This commit is contained in:
2008-09-11 01:51:45 +00:00
parent 9d7c56a7f2
commit 2af7083d75
3 changed files with 30 additions and 5 deletions

View File

@@ -1087,5 +1087,12 @@ class Material:
@return: a copy of this material
"""
def freeNodes ():
"""
Removes the node tree from this material.
@rtype: bool
@return: true if nodes were freed from this material.
"""
import id_generics
Material.__doc__ += id_generics.attributes