diff options
author | Antonioya <blendergit@gmail.com> | 2018-08-21 20:45:59 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-08-21 20:46:29 +0300 |
commit | 7fda7fb750a9436f4c9a69375113b79502ea6dc1 (patch) | |
tree | 4f84c57a17feb9d1eec2d8413381c5454ba37845 /release/scripts/startup/bl_ui/properties_data_gpencil.py | |
parent | 596c3368f4b09bdeec46e7b44abfc8bcb7ba8fcf (diff) |
GP: Force Fill triangulation data recalc
Add a general parameter to force the recalc of the triangulation data because some modifiers could change the geometry and the filling triangles would not be right.
Now, the parameter is visible in UI panel because this option reduces FPS, but maybe in the future we can keep always ON and remove the parameter.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_gpencil.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_gpencil.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_gpencil.py b/release/scripts/startup/bl_ui/properties_data_gpencil.py index effa527e6db..169b521a2eb 100644 --- a/release/scripts/startup/bl_ui/properties_data_gpencil.py +++ b/release/scripts/startup/bl_ui/properties_data_gpencil.py @@ -367,6 +367,8 @@ class DATA_PT_gpencil_display(DataButtonsPanel, Panel): layout.prop(gpd, "edit_line_color", text="Edit Line Color") layout.prop(ob, "empty_draw_size", text="Marker Size") + layout.prop(gpd, "force_fill_recalc", text="Force Fill Update") + col = layout.column(align=True) col.prop(gpd, "show_constant_thickness") sub = col.column() |