Fix T101922: transforming surface points misses redraw
Oversight in rBf8b1483566cc which resulted in fonts/surfaces not having their draw caches being tagged dirty. Not only OB_CURVES_LEGACY have their object data of type ID_CU_LEGACY, but also OB_SURF/OB_FONT objects. Maniphest Tasks: T101922 Differential Revision: https://developer.blender.org/D16298
This commit is contained in:
parent
3655eb7ff0
commit
6165395927
Notes:
blender-bot
2023-02-14 03:00:45 +01:00
Referenced by issue #101922, Regression: Nurbs surface extrude shows guiding lines at wrong position
|
@ -292,6 +292,8 @@ void BKE_object_batch_cache_dirty_tag(Object *ob)
|
|||
BKE_lattice_batch_cache_dirty_tag((struct Lattice *)ob->data, BKE_LATTICE_BATCH_DIRTY_ALL);
|
||||
break;
|
||||
case OB_CURVES_LEGACY:
|
||||
case OB_SURF:
|
||||
case OB_FONT:
|
||||
BKE_curve_batch_cache_dirty_tag((struct Curve *)ob->data, BKE_CURVE_BATCH_DIRTY_ALL);
|
||||
break;
|
||||
case OB_MBALL: {
|
||||
|
|
Loading…
Reference in New Issue