[Bf-blender-cvs] [2e1e2506766] master: Fix T62508: Annotations Placement default value is not the same as factory default

Antonioya noreply at git.blender.org
Tue Mar 12 20:29:42 CET 2019


Commit: 2e1e25067664a125928922733bbe9f96e896f01b
Author: Antonioya
Date:   Tue Mar 12 20:29:33 2019 +0100
Branches: master
https://developer.blender.org/rB2e1e25067664a125928922733bbe9f96e896f01b

Fix T62508: Annotations Placement default value is not the same as factory default

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

M	source/blender/makesrna/intern/rna_scene.c

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

diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 2898aaf665f..d25c2abe29e 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2809,6 +2809,7 @@ static void rna_def_tool_settings(BlenderRNA  *brna)
 	prop = RNA_def_property(srna, "annotation_stroke_placement_view3d", PROP_ENUM, PROP_NONE);
 	RNA_def_property_enum_bitflag_sdna(prop, NULL, "annotate_v3d_align");
 	RNA_def_property_enum_items(prop, annotation_stroke_placement_items);
+	RNA_def_property_enum_default(prop, GP_PROJECT_VIEWSPACE | GP_PROJECT_CURSOR);
 	RNA_def_property_ui_text(prop, "Annotation Stroke Placement (3D View)", "How annotation strokes are orientated in 3D space");
 	RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, NULL);



More information about the Bf-blender-cvs mailing list