[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [61003] trunk/blender: Some comment fixes, add new sculpt masking operators to menus
Antony Riakiotakis
kalast at gmail.com
Wed Oct 30 01:54:42 CET 2013
Revision: 61003
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61003
Author: psy-fi
Date: 2013-10-30 00:54:41 +0000 (Wed, 30 Oct 2013)
Log Message:
-----------
Some comment fixes, add new sculpt masking operators to menus
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
trunk/blender/source/blender/editors/sculpt_paint/paint_mask.c
Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d.py 2013-10-30 00:37:13 UTC (rev 61002)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d.py 2013-10-30 00:54:41 UTC (rev 61003)
@@ -1445,6 +1445,9 @@
props = layout.operator("paint.mask_flood_fill", text="Clear Mask")
props.mode = 'VALUE'
props.value = 0
+
+ props = layout.operator("view3d.select_border", text="Box Mask")
+ props = layout.operator("paint.mask_lasso_gesture", text="Lasso Mask")
# ********** Particle menu **********
Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_mask.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_mask.c 2013-10-30 00:37:13 UTC (rev 61002)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_mask.c 2013-10-30 00:54:41 UTC (rev 61003)
@@ -295,7 +295,7 @@
pbvh = dm->getPBVH(ob, dm);
ob->sculpt->pbvh = pbvh;
- /* gather the nodes inside the lasso */
+ /* gather all nodes! (doing bounding box intersection is more work than needed) */
BKE_pbvh_search_gather(pbvh, NULL, NULL, &nodes, &totnode);
sculpt_undo_push_begin("Mask lasso fill");
More information about the Bf-blender-cvs
mailing list