Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2018-06-11 10:14:39 +0300
committerJoshua Leung <aligorith@gmail.com>2018-06-11 10:15:05 +0300
commit3122366b28d01707f07479e92a43f3173a5af8d1 (patch)
treeebcfe130172d2d4624cdc945454e8437fa6d7604 /source/blender/makesdna/DNA_view3d_types.h
parent4d6765534858ee1c1d382430a37fe40d248e37d7 (diff)
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.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h1
1 files changed, 1 insertions, 0 deletions
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 */