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:
authorJeroen Bakker <jeroen@blender.org>2020-03-06 14:21:39 +0300
committerJeroen Bakker <jeroen@blender.org>2020-03-06 14:23:46 +0300
commit79558a581de707413041ab6f6af94ac5309b1dba (patch)
treec7036381f33d8ea34c300d7053553aa565619bda /source/blender/editors
parente96b1035364122178d5fcec7cf4d4bab7c8cb051 (diff)
CodeCleanup: Use eDrawType
This patch will make use of the eDrawType where it was used as a variable or parameter name. The eObjectDrawType was renamed to eDrawType as it is also used by `View3DShading.type`.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/include/ED_view3d_offscreen.h6
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/include/ED_view3d_offscreen.h b/source/blender/editors/include/ED_view3d_offscreen.h
index 5a31516ec64..4c0d081bcd8 100644
--- a/source/blender/editors/include/ED_view3d_offscreen.h
+++ b/source/blender/editors/include/ED_view3d_offscreen.h
@@ -43,7 +43,7 @@ struct View3DShading;
void ED_view3d_draw_offscreen(struct Depsgraph *depsgraph,
struct Scene *scene,
- eObjectDrawType drawtype,
+ eDrawType drawtype,
struct View3D *v3d,
struct ARegion *ar,
int winx,
@@ -59,7 +59,7 @@ void ED_view3d_draw_offscreen(struct Depsgraph *depsgraph,
struct ImBuf *ED_view3d_draw_offscreen_imbuf(struct Depsgraph *depsgraph,
struct Scene *scene,
- eObjectDrawType drawtype,
+ eDrawType drawtype,
struct View3D *v3d,
struct ARegion *ar,
int sizex,
@@ -72,7 +72,7 @@ struct ImBuf *ED_view3d_draw_offscreen_imbuf(struct Depsgraph *depsgraph,
struct ImBuf *ED_view3d_draw_offscreen_imbuf_simple(struct Depsgraph *depsgraph,
struct Scene *scene,
struct View3DShading *shading_override,
- eObjectDrawType drawtype,
+ eDrawType drawtype,
struct Object *camera,
int width,
int height,
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index c58c4b33f05..101e04664ec 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -1631,7 +1631,7 @@ static void view3d_stereo3d_setup_offscreen(Depsgraph *depsgraph,
void ED_view3d_draw_offscreen(Depsgraph *depsgraph,
Scene *scene,
- eObjectDrawType drawtype,
+ eDrawType drawtype,
View3D *v3d,
ARegion *ar,
int winx,
@@ -1711,7 +1711,7 @@ void ED_view3d_draw_offscreen(Depsgraph *depsgraph,
*/
ImBuf *ED_view3d_draw_offscreen_imbuf(Depsgraph *depsgraph,
Scene *scene,
- eObjectDrawType drawtype,
+ eDrawType drawtype,
View3D *v3d,
ARegion *ar,
int sizex,
@@ -1857,7 +1857,7 @@ ImBuf *ED_view3d_draw_offscreen_imbuf(Depsgraph *depsgraph,
ImBuf *ED_view3d_draw_offscreen_imbuf_simple(Depsgraph *depsgraph,
Scene *scene,
View3DShading *shading_override,
- eObjectDrawType drawtype,
+ eDrawType drawtype,
Object *camera,
int width,
int height,