diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-20 05:53:05 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-20 05:53:05 +0300 |
commit | 9c35f103c0d7eaa1ddd0b0c54be9c681a7c39dc3 (patch) | |
tree | b28c719f57304f2dd73e285aef092a1c1976cf31 /source/blender/draw/engines | |
parent | 710b8b79295896024e401178440a75b41bce32f6 (diff) |
Cleanup: quiet warning
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r-- | source/blender/draw/engines/overlay/overlay_engine.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/overlay/overlay_engine.cc b/source/blender/draw/engines/overlay/overlay_engine.cc index 9ee7cc4a10c..bb9f2e3a8ce 100644 --- a/source/blender/draw/engines/overlay/overlay_engine.cc +++ b/source/blender/draw/engines/overlay/overlay_engine.cc @@ -50,7 +50,7 @@ static void OVERLAY_engine_init(void *vedata) } OVERLAY_PrivateData *pd = stl->pd; - pd->space_type = v3d != nullptr ? SPACE_VIEW3D : draw_ctx->space_data->spacetype; + pd->space_type = v3d != nullptr ? (int)SPACE_VIEW3D : draw_ctx->space_data->spacetype; if (pd->space_type == SPACE_IMAGE) { const SpaceImage *sima = (SpaceImage *)draw_ctx->space_data; |