Fixed redraw issues in texture node tree.
[blender.git] / 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);
                }
+               else if(snode->treetype==NTREE_TEXTURE) {
+                       ntreeTexUpdatePreviews(snode->nodetree);
+               }
        }
 }