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
f6c7da5759
commit
b78d373e96
Notes:
blender-bot
2023-02-13 22:19:24 +01:00
Referenced by issue #84821, Blender 2.83.11 Beta: Crash running python script with registered timer (fixed in 2.90+) Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
|
@ -1697,7 +1697,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…
Reference in New Issue