[Bf-blender-cvs] [4d30667] GPencil_EditStrokes: Fix: After using Alt-SelectMouse to select an entire stroke, it would be impossible to select normally again

Joshua Leung noreply at git.blender.org
Thu Nov 6 00:32:11 CET 2014


Commit: 4d30667521c0c275f8601032cbb8312d6e8dc71a
Author: Joshua Leung
Date:   Thu Nov 6 12:31:51 2014 +1300
Branches: GPencil_EditStrokes
https://developer.blender.org/rB4d30667521c0c275f8601032cbb8312d6e8dc71a

Fix: After using Alt-SelectMouse to select an entire stroke, it would be impossible to select normally again

===================================================================

M	source/blender/editors/gpencil/gpencil_select.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_select.c b/source/blender/editors/gpencil/gpencil_select.c
index eeb12b8..106e91e 100644
--- a/source/blender/editors/gpencil/gpencil_select.c
+++ b/source/blender/editors/gpencil/gpencil_select.c
@@ -686,7 +686,8 @@ void GPENCIL_OT_select(wmOperatorType *ot)
 	/* properties */
 	WM_operator_properties_mouse_select(ot);
 	
-	RNA_def_boolean(ot->srna, "entire_strokes", false, "Entire Strokes", "Select entire strokes instead of just the nearest stroke vertex");
+	prop = RNA_def_boolean(ot->srna, "entire_strokes", false, "Entire Strokes", "Select entire strokes instead of just the nearest stroke vertex");
+	RNA_def_property_flag(prop, PROP_SKIP_SAVE);
 	
 	prop = RNA_def_int_vector(ot->srna, "location", 2, NULL, INT_MIN, INT_MAX, "Location", "Mouse location", INT_MIN, INT_MAX);
 	RNA_def_property_flag(prop, PROP_HIDDEN);




More information about the Bf-blender-cvs mailing list