mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix: Update normals when switching scene quality
Recent commits also updated normals for metaballs, curves and volumetric objects. This change tags will tag to generate geometry for these new types.
This commit is contained in:
parent
5ad2e71964
commit
dbaf5fb4bb
1 changed files with 1 additions and 1 deletions
|
|
@ -1706,7 +1706,7 @@ static void rna_Scene_mesh_quality_update(Main *bmain, Scene *UNUSED(scene), Poi
|
|||
Scene *scene = (Scene *)ptr->owner_id;
|
||||
|
||||
FOREACH_SCENE_OBJECT_BEGIN (scene, ob) {
|
||||
if (ob->type == OB_MESH) {
|
||||
if (ELEM(ob->type, OB_MESH, OB_CURVE, OB_VOLUME, OB_MBALL)) {
|
||||
DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue