From 3122366b28d01707f07479e92a43f3173a5af8d1 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Mon, 11 Jun 2018 19:14:39 +1200 Subject: Overlays: Reserve space for a "Onion Skins" overlay While we probably won't be getting a general purpose "Onion Skinning" overlay anytime soon for meshes, etc. (at least not before the depsgraph stabilises, and we also get geometry caching working), for the Grease Pencil integration at least, it makes sense to move GP objects to using a more general/future-proof solution, instead of continuing to use a special/dedicated button in the header. Currently the UI part of this is commented out. Also, the GP branch doesn't need to move to this pre-merge. But, since 2.8 changes move fast, it's better to reserve the space now to have it next to motionpaths, than introduce it later. --- source/blender/makesdna/DNA_view3d_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesdna/DNA_view3d_types.h') diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 9794a1efbf5..9686981d674 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -371,6 +371,7 @@ enum { V3D_OVERLAY_WIREFRAMES = (1 << 4), V3D_OVERLAY_HIDE_TEXT = (1 << 5), V3D_OVERLAY_HIDE_MOTION_PATHS = (1 << 6), + V3D_OVERLAY_ONION_SKINS = (1 << 7), }; /* View3DOverlay->edit_flag */ -- cgit v1.2.3