diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-04-01 13:00:36 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-04-01 13:00:36 +0300 |
commit | 0d3cc9a06dfd3f77fa9bd20c5013ae9b050b4fae (patch) | |
tree | ac818b4ba189f46dee38c937a17c51b6822af56b /space_view3d_math_vis/__init__.py | |
parent | 3456a058ac4c3c366262b2c4a5da03c0bbb250f9 (diff) |
new: MathVis: Added option to display points and lines in front
Diffstat (limited to 'space_view3d_math_vis/__init__.py')
-rw-r--r-- | space_view3d_math_vis/__init__.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/space_view3d_math_vis/__init__.py b/space_view3d_math_vis/__init__.py index f64de364..94d871d3 100644 --- a/space_view3d_math_vis/__init__.py +++ b/space_view3d_math_vis/__init__.py @@ -88,6 +88,7 @@ class PanelConsoleVars(Panel): col = layout.column() col.prop(bpy.context.window_manager.MathVisProp, "name_hide") col.prop(bpy.context.window_manager.MathVisProp, "bbox_hide") + col.prop(bpy.context.window_manager.MathVisProp, "in_front") col.prop(bpy.context.window_manager.MathVisProp, "bbox_scale") col.operator("mathvis.cleanup_console") @@ -242,6 +243,12 @@ class MathVis(PropertyGroup): "lines for the display of Matrix items" ) + in_front: BoolProperty( + name="Always In Front", + default=True, + description="Draw Points and lines alwasy in front", + update=call_console_hook + ) classes = ( PanelConsoleVars, |