Cleanup: Remove unused function
This commit is contained in:
parent
d34f8ac3d9
commit
fe108d85b4
|
@ -887,7 +887,6 @@ bool DRW_object_is_in_edit_mode(const struct Object *ob);
|
|||
* we are rendering or drawing in the viewport.
|
||||
*/
|
||||
int DRW_object_visibility_in_active_context(const struct Object *ob);
|
||||
bool DRW_object_is_flat_normal(const struct Object *ob);
|
||||
bool DRW_object_use_hide_faces(const struct Object *ob);
|
||||
|
||||
bool DRW_object_is_visible_psys_in_active_context(const struct Object *object,
|
||||
|
|
|
@ -212,16 +212,6 @@ int DRW_object_visibility_in_active_context(const Object *ob)
|
|||
return BKE_object_visibility(ob, mode);
|
||||
}
|
||||
|
||||
bool DRW_object_is_flat_normal(const Object *ob)
|
||||
{
|
||||
if (ob->type == OB_MESH) {
|
||||
const Mesh *me = ob->data;
|
||||
if (me->mpoly && me->mpoly[0].flag & ME_SMOOTH) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
bool DRW_object_use_hide_faces(const struct Object *ob)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue