Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_generics.c
| Show First 20 Lines • Show All 1,087 Lines • ▼ Show 20 Lines | else if (t->flag & T_POSE) { | ||||
| GSetIterator gs_iter; | GSetIterator gs_iter; | ||||
| GSET_ITER (gs_iter, motionpath_updates) { | GSET_ITER (gs_iter, motionpath_updates) { | ||||
| Object *ob = BLI_gsetIterator_getKey(&gs_iter); | Object *ob = BLI_gsetIterator_getKey(&gs_iter); | ||||
| ED_pose_recalculate_paths(t->context, t->scene, ob, true); | ED_pose_recalculate_paths(t->context, t->scene, ob, true); | ||||
| } | } | ||||
| BLI_gset_free(motionpath_updates, NULL); | BLI_gset_free(motionpath_updates, NULL); | ||||
| } | } | ||||
| else if (base && (base->object->mode & OB_MODE_PARTICLE_EDIT) && | else if (base && (base->object->mode & OB_MODE_PARTICLE_EDIT) && | ||||
| PE_get_current(t->scene, base->object)) { | PE_get_current(t->depsgraph, t->scene, base->object)) { | ||||
| if (t->state != TRANS_CANCEL) { | if (t->state != TRANS_CANCEL) { | ||||
| applyProject(t); | applyProject(t); | ||||
| } | } | ||||
| flushTransParticles(t); | flushTransParticles(t); | ||||
| } | } | ||||
| else { | else { | ||||
| bool motionpath_update = false; | bool motionpath_update = false; | ||||
| ▲ Show 20 Lines • Show All 1,461 Lines • Show Last 20 Lines | |||||