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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-02-24 16:30:49 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-24 16:30:49 +0400
commitaff0c6c0f40044094a5f7d00f80d14fef557c80b (patch)
tree4d270c25aa46af879f4e0cf6a43574a8aba9bef9 /source/blender/modifiers
parent73e73ed1e070616b1fd838499b654b56d02fe084 (diff)
Fixed crash in UV project modifier.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_uvproject.c2
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);