Fix T62508: Annotations Placement default value is not the same as factory default
authorAntonioya <blendergit@gmail.com>
Tue, 12 Mar 2019 19:29:33 +0000 (20:29 +0100)
committerAntonioya <blendergit@gmail.com>
Tue, 12 Mar 2019 19:29:33 +0000 (20:29 +0100)
source/blender/makesrna/intern/rna_scene.c

index 2898aaf665fee4edcb04f7b9e7b79c23b95245aa..d25c2abe29e4d0f4734834a24224b89fb76ab3bc 100644 (file)
@@ -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);