Blender Git Loki

Git Commits -> Revision 89a846d

Revision 89a846d by Gaia Clary (master)
February 3, 2014, 12:04 (GMT)
Add compatibility for older Collada files

The Fix in 273 creates a backward incompatibility:
Collada files that have been created with an older Blender version
will contain the spotlight_size in Radians where Collada wants
this value to be in DEGREE.

This fix adds a check for the Blender Version that was used to create the
Collada file. If the Collada file was made by an older version of Blender
then the importer will assume that spotlight_size is specified in RADIANS.

Reviewers: campbellbarton, sauraedron

Reviewed By: sauraedron

CC: jesterking

Differential Revision: https://developer.blender.org/D279

Commit Details:

Full Hash: 89a846df51224ff829b8683dad93024e0b230319
Parent Commit: 4bd6423
Lines Changed: +50, -5

4 Modified Paths:

/source/blender/collada/AnimationImporter.cpp (+13, -4) (Diff)
/source/blender/collada/AnimationImporter.h (+3, -0) (Diff)
/source/blender/collada/DocumentImporter.cpp (+32, -1) (Diff)
/source/blender/collada/DocumentImporter.h (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021