Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wilkins <Jason.A.Wilkins@gmail.com>2010-07-23 00:18:42 +0400
committerJason Wilkins <Jason.A.Wilkins@gmail.com>2010-07-23 00:18:42 +0400
commit2a02632882a4b538fcde785668ef993d26fae84b (patch)
tree038ce6857d1e571cfb3c7fcb48cf70d1fc3347cd /source/blender/blenkernel/intern/brush.c
parent3b5b761a56424987790bd1aad6fcb9ac1f0a281b (diff)
* removing the notifiers I added until I can discover the most lightweight way to achieve the same thing
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r--source/blender/blenkernel/intern/brush.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index ac600f7ef4e..a668249b0d5 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -1237,7 +1237,7 @@ void brush_set_size(Brush *brush, int size)
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 @@ void brush_set_use_locked_size(Brush *brush, int value)
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 @@ void brush_set_use_size_pressure(Brush *brush, int value)
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 @@ void brush_set_use_alpha_pressure(Brush *brush, int value)
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 @@ void brush_set_unprojected_radius(Brush *brush, float unprojected_radius)
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 @@ void brush_set_alpha(Brush *brush, float alpha)
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)