Fix T59237: Instancing on a path doesn't do anything
This commit makes it so curve path parent solving accepts an explicit arguments for both time and curve speed flag, making it so we don't have to mock around with scene's frame. One unfortunate issue still is that if the instancing object is used for something else, we might be running into a threading conflict. Possible solution would be to create a temp copy of an object, but then it will be an issue of preventing drivers from modifying other datablocks. At least the original issue is fixed now, and things behave same as in older Blender version. Additionally, the global variable which was defining curve speed flag behavior is gone now!
This commit is contained in:
@@ -63,7 +63,7 @@ struct MovieTrackingReconstruction *BKE_tracking_get_active_reconstruction(struc
|
||||
|
||||
/* matrices for constraints and drawing */
|
||||
void BKE_tracking_get_camera_object_matrix(
|
||||
struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, float mat[4][4]);
|
||||
struct Scene *scene, struct Object *ob, float mat[4][4]);
|
||||
void BKE_tracking_get_projection_matrix(struct MovieTracking *tracking, struct MovieTrackingObject *object,
|
||||
int framenr, int winx, int winy, float mat[4][4]);
|
||||
|
||||
|
Reference in New Issue
Block a user