[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30638] trunk/blender/source/blender: * removing the notifiers I added until I can discover the most lightweight way to achieve the same thing

Jason Wilkins Jason.A.Wilkins at gmail.com
Thu Jul 22 22:18:42 CEST 2010


Revision: 30638
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30638
Author:   jwilkins
Date:     2010-07-22 22:18:42 +0200 (Thu, 22 Jul 2010)

Log Message:
-----------
* removing the notifiers I added until I can discover the most lightweight way to achieve the same thing

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/brush.c
    trunk/blender/source/blender/makesrna/intern/rna_brush.c

Modified: trunk/blender/source/blender/blenkernel/intern/brush.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/brush.c	2010-07-22 18:56:46 UTC (rev 30637)
+++ trunk/blender/source/blender/blenkernel/intern/brush.c	2010-07-22 20:18:42 UTC (rev 30638)
@@ -1237,7 +1237,7 @@
 	else
 		brush->size= size;
 
-	WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
+	//WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
 }
 
 int brush_size(Brush *brush)
@@ -1257,7 +1257,7 @@
 			brush->flag &= ~BRUSH_LOCK_SIZE;
 	}
 
-	WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
+	//WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
 }
 
 int brush_use_locked_size(Brush *brush)
@@ -1277,7 +1277,7 @@
 			brush->flag &= ~BRUSH_SIZE_PRESSURE;
 	}
 
-	WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
+	//WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
 }
 
 int brush_use_size_pressure(Brush *brush)
@@ -1297,7 +1297,7 @@
 			brush->flag &= ~BRUSH_ALPHA_PRESSURE;
 	}
 
-	WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
+	//WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
 }
 
 int brush_use_alpha_pressure(Brush *brush)
@@ -1312,7 +1312,7 @@
 	else
 		brush->unprojected_radius= unprojected_radius;
 
-	WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
+	//WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
 }
 
 float brush_unprojected_radius(Brush *brush)
@@ -1327,7 +1327,7 @@
 	else
 		brush->alpha= alpha;
 
-	WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
+	//WM_main_add_notifier(NC_BRUSH|NA_EDITED, brush);
 }
 
 float brush_alpha(Brush *brush)

Modified: trunk/blender/source/blender/makesrna/intern/rna_brush.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_brush.c	2010-07-22 18:56:46 UTC (rev 30637)
+++ trunk/blender/source/blender/makesrna/intern/rna_brush.c	2010-07-22 20:18:42 UTC (rev 30638)
@@ -52,7 +52,7 @@
 {
 	Brush *br= (Brush*)ptr->data;
 	WM_main_add_notifier(NC_BRUSH|NA_EDITED, br);
-	WM_main_add_notifier(NC_SPACE|ND_SPACE_VIEW3D, NULL);
+	//WM_main_add_notifier(NC_SPACE|ND_SPACE_VIEW3D, NULL);
 }
 
 static int rna_Brush_is_sculpt_brush(Brush *me, bContext *C)





More information about the Bf-blender-cvs mailing list