Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / physics / physics_fluid.c
index 130dcba060d0edd1b5ddcafab750930abea38e62..904e4242ed127b4490d879eabce7ea3f79f343e9 100644 (file)
@@ -399,7 +399,7 @@ static void fluid_init_all_channels(bContext *C, Object *UNUSED(fsDomain), Fluid
 
                /* XXX: This can't be used due to an anim sys optimization that ignores recalc object animation,
                 * leaving it for the depgraph (this ignores object animation such as modifier properties though... :/ )
-                * --> BKE_animsys_evaluate_all_animation(G.main, eval_time);
+                * --> BKE_animsys_evaluate_all_animation(CTX_data_main(C), eval_time);
                 * This doesn't work with drivers:
                 * --> BKE_animsys_evaluate_animdata(&fsDomain->id, fsDomain->adt, eval_time, ADT_RECALC_ALL);
                 */