[Bf-blender-cvs] [3b089c1] alembic: Initialize curve mappings once after creating, just to be sure.
Lukas Tönne
noreply at git.blender.org
Fri May 22 17:53:30 CEST 2015
Commit: 3b089c1b904a2a534b008ca11e89277b1127e473
Author: Lukas Tönne
Date: Fri May 22 12:18:19 2015 +0200
Branches: alembic
https://developer.blender.org/rB3b089c1b904a2a534b008ca11e89277b1127e473
Initialize curve mappings once after creating, just to be sure.
===================================================================
M source/blender/blenkernel/intern/cache_library.c
===================================================================
diff --git a/source/blender/blenkernel/intern/cache_library.c b/source/blender/blenkernel/intern/cache_library.c
index 0878ee8..d934c9d 100644
--- a/source/blender/blenkernel/intern/cache_library.c
+++ b/source/blender/blenkernel/intern/cache_library.c
@@ -1083,6 +1083,7 @@ static void hairsim_params_init(HairSimParams *params)
cm->cm[0].curve[0].y = 1.0f;
cm->cm[0].curve[1].x = 1.0f;
cm->cm[0].curve[1].y = 0.0f;
+ curvemapping_changed_all(cm);
params->goal_stiffness_mapping = cm;
}
{
@@ -1091,6 +1092,7 @@ static void hairsim_params_init(HairSimParams *params)
cm->cm[0].curve[0].y = 1.0f;
cm->cm[0].curve[1].x = 1.0f;
cm->cm[0].curve[1].y = 1.0f;
+ curvemapping_changed_all(cm);
params->bend_stiffness_mapping = cm;
}
More information about the Bf-blender-cvs
mailing list