[Bf-committers] NodeTree.nodes.new() vanished?
Dalai Felinto
dfelinto at gmail.com
Sat May 26 01:08:31 CEST 2012
Hi there,
Did any of the recent changes (tile/node frame/node tweaks) change the way
we can add new nodes?
I used (until 2ish weeks ago) to do:
bpy.context.scene.use_nodes = True # this still works
bpy.context.scene.node_tree.nodes.new('IMAGE')
but now I get:
AttributeError: 'bpy_prop_collection' object has no attribute 'new'
*edit: I updated tile here and it seems the problem comes from there.*
Thanks,
Dalai
www.dalaifelinto.com
More information about the Bf-committers
mailing list