Fixed redraw issues in texture node tree.
authorRobin Allen <roblovski@gmail.com>
Tue, 18 Aug 2009 21:10:03 +0000 (21:10 +0000)
committerRobin Allen <roblovski@gmail.com>
Tue, 18 Aug 2009 21:10:03 +0000 (21:10 +0000)
source/blender/editors/space_node/space_node.c

index 07277fe878d4e62919ec8308429abecc13077b2f..877f9133e4a72ba254bd10304cb92c6c3b2f64c9 100644 (file)
@@ -181,6 +181,9 @@ static void node_area_refresh(const struct bContext *C, struct ScrArea *sa)
                        if(scene->use_nodes)
                                snode_composite_job(C, sa);
                }
                        if(scene->use_nodes)
                                snode_composite_job(C, sa);
                }
+               else if(snode->treetype==NTREE_TEXTURE) {
+                       ntreeTexUpdatePreviews(snode->nodetree);
+               }
        }
 }
 
        }
 }