[Bf-blender-cvs] [e8ba703f80c] greasepencil-object: Cleanup: macro's w/ an _END need a matching _BEGIN

Antonio Vazquez noreply at git.blender.org
Thu Mar 1 19:03:26 CET 2018


Commit: e8ba703f80c36785630d5b976d0ff899044735cb
Author: Antonio Vazquez
Date:   Thu Mar 1 19:02:39 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBe8ba703f80c36785630d5b976d0ff899044735cb

Cleanup: macro's w/ an _END need a matching _BEGIN

===================================================================

M	source/blender/draw/intern/draw_manager.c

===================================================================

diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c
index 04bc368bd1e..9614312f523 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -1243,7 +1243,7 @@ void DRW_draw_render_loop_offscreen(
 /* helper to check if exit object type to render */
 static bool DRW_render_check_object_type(struct Depsgraph *depsgraph, short obtype)
 {
-	DEG_OBJECT_ITER_FOR_RENDER_ENGINE(depsgraph, ob, DRW_iterator_mode_get())
+	DEG_OBJECT_ITER_FOR_RENDER_ENGINE_BEGIN(depsgraph, ob, DRW_iterator_mode_get())
 	{
 		if ((ob->type == obtype) && (DRW_check_object_visible_within_active_context(ob))) {
 			return true;



More information about the Bf-blender-cvs mailing list