Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-07-20 22:30:44 +0300
committerHans Goudey <h.goudey@me.com>2022-07-20 22:30:44 +0300
commitfe108d85b4d7f5ac0261f0b95b9c799beb982d9f (patch)
treedfa3ee8db473aa324a10417e8dcd160781ca637a /source/blender/draw/intern/draw_manager.c
parentd34f8ac3d9a4c3402fd620253d70bbf71e09abd2 (diff)
Cleanup: Remove unused function
Diffstat (limited to 'source/blender/draw/intern/draw_manager.c')
-rw-r--r--source/blender/draw/intern/draw_manager.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c
index 5d21ab75650..89ae1c73a76 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -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)
{