diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-22 08:41:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-22 08:43:28 +0300 |
commit | 583fb8c1405cda2d89b36728f83962978bbb7a24 (patch) | |
tree | 425e0b3e40d1ab74140569a31f3180d6c4690634 /source/blender/makesrna/intern/rna_gpencil.c | |
parent | cb410429cc7fcfe744cfe62b068a17cc3da5aeb8 (diff) |
Cleanup: RNA naming
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index 8bb7b7ebcc2..6beb8c5313e 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -1306,7 +1306,7 @@ static void rna_def_gpencil_data(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Keep Thickness", "Maintain the thickness of the stroke when the viewport zoom changes"); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); - prop = RNA_def_property(srna, "pixfactor", PROP_FLOAT, PROP_NONE); + prop = RNA_def_property(srna, "pixel_factor", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "pixfactor"); RNA_def_property_range(prop, 0.1f, 30.0f); RNA_def_property_ui_range(prop, 0.1f, 30.0f, 1, 2); @@ -1318,7 +1318,7 @@ static void rna_def_gpencil_data(BlenderRNA *brna) RNA_def_property_ui_text(prop, "MultiFrame", "Edit strokes from multiple grease pencil keyframes at the same time (keyframes must be selected to be included)"); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); - prop = RNA_def_property(srna, "force_fill_recalc", PROP_BOOLEAN, PROP_NONE); + prop = RNA_def_property(srna, "use_force_fill_recalc", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_DATA_STROKE_FORCE_RECALC); RNA_def_property_ui_text(prop, "Force Fill Update", "Force recalc of fill data after use deformation modifiers (reduce FPS)"); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); |