diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-24 16:30:49 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-02-24 16:30:49 +0400 |
commit | aff0c6c0f40044094a5f7d00f80d14fef557c80b (patch) | |
tree | 4d270c25aa46af879f4e0cf6a43574a8aba9bef9 /source | |
parent | 73e73ed1e070616b1fd838499b654b56d02fe084 (diff) |
Fixed crash in UV project modifier.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/modifiers/intern/MOD_uvproject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_uvproject.c b/source/blender/modifiers/intern/MOD_uvproject.c index 7cd65236c5d..6fe319464de 100644 --- a/source/blender/modifiers/intern/MOD_uvproject.c +++ b/source/blender/modifiers/intern/MOD_uvproject.c @@ -270,7 +270,7 @@ static DerivedMesh *uvprojectModifier_do(UVProjectModifierData *umd, CD_MLOOPUV, uvname, numLoops); /* can be NULL */ - mtexpoly = CustomData_duplicate_referenced_layer_named(&dm->polyData, + mt = mtexpoly = CustomData_duplicate_referenced_layer_named(&dm->polyData, CD_MTEXPOLY, uvname, numPolys); numVerts = dm->getNumVerts(dm); |