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:
authorCampbell Barton <ideasman42@gmail.com>2019-08-25 05:21:09 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-25 05:21:09 +0300
commit17e1c97e435d20758ca2959496cc1b09268add3d (patch)
treef1fad24f1dbcebab86ebd636b6014a2babaf6d86 /source/blender/blenloader
parentd42a23b31ac620e49f08bbf149139c56cd0d0d4e (diff)
Cleanup: remove USE_TESSFACE_DEFAULT define
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 1e3342cef04..fe9235ba59a 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -4895,21 +4895,8 @@ static void lib_link_mesh(FileData *fd, Main *main)
G_MAIN = gmain;
}
- /*
- * Re-tessellate, even if the polys were just created from tessfaces, this
- * is important because it:
- * - fill the CD_ORIGINDEX layer
- * - gives consistency of tessface between loading from a file and
- * converting an edited BMesh back into a mesh (i.e. it replaces
- * quad tessfaces in a loaded mesh immediately, instead of lazily
- * waiting until edit mode has been entered/exited, making it easier
- * to recognize problems that would otherwise only show up after edits).
- */
-#ifdef USE_TESSFACE_DEFAULT
- BKE_mesh_tessface_calc(me);
-#else
+ /* Deprecated, only kept for conversion. */
BKE_mesh_tessface_clear(me);
-#endif
me->id.tag &= ~LIB_TAG_NEED_LINK;
}