diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-07-21 13:53:30 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-07-21 15:44:37 +0300 |
commit | 727e569ac3f2d7965f0054da1db56c6fa99475c2 (patch) | |
tree | 6deb322a3166e0b27266e5597c0d727e8d440b8e /source/blender/editors/object | |
parent | 3fe5c0e5df8191053148b4605c476b555795ee16 (diff) |
Cleanup: CodeQuality: Replace OB_DRAWXRAY by OB_DRAW_IN_FRONT
This is to match the option name and to avoid confusion with
workbench xray mode.
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index 4470269ec23..8a736c380bf 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -2362,7 +2362,7 @@ static Object *modifier_skin_armature_create(Depsgraph *depsgraph, BKE_object_transform_copy(arm_ob, skin_ob); arm = arm_ob->data; arm->layer = 1; - arm_ob->dtx |= OB_DRAWXRAY; + arm_ob->dtx |= OB_DRAW_IN_FRONT; arm->drawtype = ARM_LINE; arm->edbo = MEM_callocN(sizeof(ListBase), "edbo armature"); |