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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user