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:
authorCampbell Barton <ideasman42@gmail.com>2018-03-09 03:44:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-09 03:52:11 +0300
commitf47a41a3d9f9850f852abb3d76bea2c8b281bb45 (patch)
treeb50d618fa0300e4ae96a5cf7d3029013515c5e93 /source/blender/freestyle
parent9342f55d12f87dbc72e6953e0bc6c2564e57465f (diff)
Cleanup: iterator macros
- put render iterator in own scope (would shadow it's own variable if used multiple times). - enforce semicolon at end of iterator macros. - no need to typedef one-off macro structs.
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r--source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp b/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp
index 312a4355af7..62be648bba3 100644
--- a/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp
+++ b/source/blender/freestyle/intern/blender_interface/BlenderStrokeRenderer.cpp
@@ -221,7 +221,7 @@ BlenderStrokeRenderer::~BlenderStrokeRenderer()
{
BLI_freelistN(&sc->objects);
}
- FOREACH_SCENE_COLLECTION_END
+ FOREACH_SCENE_COLLECTION_END;
BLI_freelistN(&view_layer->object_bases);
// release materials