diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-08-11 22:52:54 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-08-11 22:52:54 +0300 |
commit | 185ed9980c2fdfbab32594aaf7503c0ab37a3e24 (patch) | |
tree | 133a968dbc50176871a1b0a1b5d113cdbb754bd2 /source/blender/modifiers/intern | |
parent | 3eebdf8a2d7ae2d6600df270a08c2ba440d9293c (diff) | |
parent | 2fc2a0a56b9c80d8bb0ad0cdda9f7bb01b5219dd (diff) |
Merge branch 'blender-v2.90-release'
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_skin.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_skin.c b/source/blender/modifiers/intern/MOD_skin.c index a0c4799a46f..797d9e9e251 100644 --- a/source/blender/modifiers/intern/MOD_skin.c +++ b/source/blender/modifiers/intern/MOD_skin.c @@ -772,6 +772,11 @@ static EMat *build_edge_mats(const MVertSkin *vs, *has_valid_root = true; } + else if (totedge == 0) { + /* Vertex-only mesh is valid, mark valid root as well (will display error otherwise). */ + *has_valid_root = true; + break; + } } } |