diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-09-25 19:50:57 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-09-25 23:51:54 +0300 |
commit | 2cff9b4cb605047927fbb1c774fdafcfd2ab534e (patch) | |
tree | 101d1efb5507a9dbde2934b04f081e77ed1e131b /release/scripts/startup/bl_ui/space_view3d.py | |
parent | 05d0e5315b99f939687838b50519d0702b4c8fb4 (diff) |
Curves: Move draw options to overlays
This commit add one regression: it is impossible to currently hide handles
in the viewport. But this should be fixed in another commit.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index cded9d613ec..cc961fe2ce0 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -4554,7 +4554,6 @@ class VIEW3D_PT_overlay_edit_curve(Panel): def draw(self, context): layout = self.layout view = context.space_data - data = context.active_object.data overlay = view.overlay display_all = overlay.show_overlays @@ -4562,8 +4561,8 @@ class VIEW3D_PT_overlay_edit_curve(Panel): col.active = display_all row = col.row() - row.prop(data, "show_handles", text="Handles") - row.prop(data, "show_normal_face", text="Normals") + row.prop(overlay, "show_curve_handles", text="Handles") + row.prop(overlay, "show_curve_normals", text="Normals") class VIEW3D_PT_overlay_sculpt(Panel): |