[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [39106] branches/soc-2011-onion/source/ blender/editors: Correct some notifier related stuff for operators

Antony Riakiotakis kalast at gmail.com
Sun Aug 7 00:14:24 CEST 2011


Revision: 39106
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=39106
Author:   psy-fi
Date:     2011-08-06 22:14:23 +0000 (Sat, 06 Aug 2011)
Log Message:
-----------
Correct some notifier related stuff for operators

Modified Paths:
--------------
    branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_uv.c
    branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_ops.c

Modified: branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_uv.c
===================================================================
--- branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_uv.c	2011-08-06 17:57:20 UTC (rev 39105)
+++ branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_uv.c	2011-08-06 22:14:23 UTC (rev 39106)
@@ -150,6 +150,7 @@
 	}
 
 	ED_region_tag_redraw(CTX_wm_region(C));
+	WM_event_add_notifier(C, NC_GEOM|ND_DATA, obedit->data);
 	DAG_id_tag_update(obedit->data, 0);
 	return OPERATOR_RUNNING_MODAL;
 }

Modified: branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_ops.c
===================================================================
--- branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_ops.c	2011-08-06 17:57:20 UTC (rev 39105)
+++ branches/soc-2011-onion/source/blender/editors/uvedit/uvedit_ops.c	2011-08-06 22:14:23 UTC (rev 39106)
@@ -2383,7 +2383,7 @@
 
 	/* if updated settings, renew feedback message */
 	stitch_update_header(stitch_state, C);
-	WM_event_add_notifier(C, NC_GEOM|ND_DATA, obedit->data);
+	ED_region_tag_redraw(CTX_wm_region(C));
 	return OPERATOR_RUNNING_MODAL;
 }
 




More information about the Bf-blender-cvs mailing list