move suspicious break statement in drawDispListsolid() to prevent falling through.
This commit is contained in:
@@ -3852,8 +3852,8 @@ static void drawDispListsolid(ListBase *lb, Object *ob, const short dflag,
|
||||
glEnd();
|
||||
|
||||
glEnable(GL_LIGHTING);
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case DL_SURF:
|
||||
|
||||
if (dl->index) {
|
||||
|
||||
@@ -6392,6 +6392,7 @@ bool RNA_property_equals(PointerRNA *a, PointerRNA *b, PropertyRNA *prop, bool i
|
||||
PointerRNA propptr_b = RNA_property_pointer_get(b, prop);
|
||||
return RNA_struct_equals(&propptr_a, &propptr_b, is_strict);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
|
||||
@@ -288,6 +288,7 @@ static char *rna_ColorRampElement_path(PointerRNA *ptr)
|
||||
if (RNA_path_resolve(&ramp_ptr, "color_ramp", &ramp_ptr, &prop)) {
|
||||
COLRAMP_GETPATH;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user