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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user