diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-01 17:45:57 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-01 17:45:57 +0300 |
commit | d6d5c436e3f0ce96b6979d0bcd13b67218320b3f (patch) | |
tree | 8fb4bf9b3a4eaba159f9a361d02c76ee926c8341 /source/blender/blenkernel/intern | |
parent | 623574ffa23badf767d8a445f1c18aabdbd10e26 (diff) |
Subdiv: Cleanup, better naming yet again
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/multires_reshape.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/multires_reshape.c b/source/blender/blenkernel/intern/multires_reshape.c index 3544fc33816..f0c8bceedd3 100644 --- a/source/blender/blenkernel/intern/multires_reshape.c +++ b/source/blender/blenkernel/intern/multires_reshape.c @@ -698,9 +698,10 @@ static void multires_reshape_vertex_every_edge( subdiv_vertex_index); } -static Subdiv *multires_subdiv_for_reshape(struct Depsgraph *depsgraph, - /*const*/ Object *object, - const MultiresModifierData *mmd) +static Subdiv *multires_create_subdiv_for_reshape( + struct Depsgraph *depsgraph, + /*const*/ Object *object, + const MultiresModifierData *mmd) { Scene *scene_eval = DEG_get_evaluated_scene(depsgraph); Object *object_eval = DEG_get_evaluated_object(depsgraph, object); @@ -757,7 +758,7 @@ static bool multires_reshape_from_vertcos( .user_data = &reshape_deformed_verts_ctx, }; /* Initialize subdivision surface. */ - Subdiv *subdiv = multires_subdiv_for_reshape(depsgraph, object, mmd); + Subdiv *subdiv = multires_create_subdiv_for_reshape(depsgraph, object, mmd); if (subdiv == NULL) { return false; } |