style cleanup: changes to brace placement / newlines - for/while/if/switch
This commit is contained in:
@@ -50,11 +50,10 @@ bool MaterialsExporter::hasMaterials(Scene *sce)
|
||||
{
|
||||
Base *base = (Base *)sce->base.first;
|
||||
|
||||
while(base) {
|
||||
while (base) {
|
||||
Object *ob= base->object;
|
||||
int a;
|
||||
for (a = 0; a < ob->totcol; a++)
|
||||
{
|
||||
for (a = 0; a < ob->totcol; a++) {
|
||||
Material *ma = give_current_material(ob, a+1);
|
||||
|
||||
// no material, but check all of the slots
|
||||
|
||||
Reference in New Issue
Block a user