fix for fix [#24344] crash on adding new image when composite is open and there is no Nodetree

also use const prefix in solidify modifier where possible.
This commit is contained in:
2010-10-21 04:21:09 +00:00
parent e2f1740761
commit 9862157087
2 changed files with 9 additions and 9 deletions

View File

@@ -1803,7 +1803,7 @@ int NodeTagIDChanged(bNodeTree *ntree, ID *id)
{
int change = FALSE;
if(id==NULL)
if(ELEM(NULL, id, ntree))
return change;
if(ntree->type==NTREE_COMPOSIT) {