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:
		@@ -2967,7 +2967,7 @@ static void psys_update_path_cache(ParticleSimulationData *sim, float cfra, cons
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	FOREACH_SCENE_OBJECT_END
 | 
			
		||||
	FOREACH_SCENE_OBJECT_END;
 | 
			
		||||
 | 
			
		||||
	if (!skip) {
 | 
			
		||||
		psys_cache_paths(sim, cfra, use_render_params);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user