Check the node Add operator's type property before attempting to create a new node...
authorLukas Toenne <lukas.toenne@googlemail.com>
Sun, 6 Oct 2013 10:49:40 +0000 (10:49 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Sun, 6 Oct 2013 10:49:40 +0000 (10:49 +0000)
commit96f4ee03d4ac0dd5f9a8144b148cdb54291286b9
tree6301aaf952c79f9629da1df9d5d600ca0ead3094
parent46a1d921f10445da80c9a2398cfe57d0f4553533
Check the node Add operator's type property before attempting to create a new node. This prevents python exceptions when calling it from the search menu, where the node type is unspecified.
Reported by Sebastian Koenig in unrelated bug report #36968.
release/scripts/startup/bl_operators/node.py