Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-05-17 16:28:18 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-05-17 16:28:51 +0300
commitc48a3afb166b38bbdf55c3e6d317ef85f90d18bf (patch)
tree2e8e6760820dc622774ac22f6479b2364613eacf /source/blender/modifiers
parent0ef23786fe40af2f42b82c790b439f441985e245 (diff)
Collision Modifier: get time from depsgraph instead of scene
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_collision.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_collision.c b/source/blender/modifiers/intern/MOD_collision.c
index 83fbf676beb..c9037074ecc 100644
--- a/source/blender/modifiers/intern/MOD_collision.c
+++ b/source/blender/modifiers/intern/MOD_collision.c
@@ -122,7 +122,7 @@ static void deformVerts(
CDDM_apply_vert_coords(dm, vertexCos);
CDDM_calc_normals(dm);
- current_time = BKE_scene_frame_get(md->scene);
+ current_time = DEG_get_ctime(ctx->depsgraph);
if (G.debug_value > 0)
printf("current_time %f, collmd->time_xnew %f\n", current_time, collmd->time_xnew);