fix for possible (but unlikely) crash.
authorCampbell Barton <ideasman42@gmail.com>
Sat, 23 Apr 2011 08:02:29 +0000 (08:02 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 23 Apr 2011 08:02:29 +0000 (08:02 +0000)
commit176e45f88ec1b6e4068c4ed11a3f3821a0d7d794
treec29f3714fb7103d665d9dd57def89d9b453f9da2
parent7faa531a627b3010f614114531f0f54c12553cf1
fix for possible (but unlikely) crash.
added NULL check in case nodeAddNodeType() is given an invalid type or the dynamic node cant be found.
source/blender/blenkernel/intern/node.c