diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2011-07-07 01:37:31 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2011-07-07 01:37:31 +0400 |
commit | 5b4bffba5234e3601b355adfa62bd57ff110903d (patch) | |
tree | 62a456865439b111263bbdafb8d5ad1bd3e670c6 /source/blender/collada/MeshImporter.h | |
parent | a83c3c0b1422713d8553965988c3096955eaa452 (diff) |
[#27854] Collada import doesn't handle UVW mapping
Reported by David Roy
Patch by Brecht van Lommel
UV import code wasn't taking possible stride into account (always assuming stride==2), thus reading UV coords totally wrong.
Diffstat (limited to 'source/blender/collada/MeshImporter.h')
-rw-r--r-- | source/blender/collada/MeshImporter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/collada/MeshImporter.h b/source/blender/collada/MeshImporter.h index 20fdb0dcc6e..88ee0e46c33 100644 --- a/source/blender/collada/MeshImporter.h +++ b/source/blender/collada/MeshImporter.h @@ -69,7 +69,7 @@ public: void print(); #endif - void getUV(int uv_index[2], float *uv); + void getUV(int uv_index, float *uv); }; class MeshImporter : public MeshImporterBase |