Page MenuHome

Add compatibility for older Collada files
ClosedPublic

Authored by Gaia Clary (gaiaclary) on Feb 2 2014, 2:31 PM.

Details

Summary

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.

Diff Detail

Branch
collada

Event Timeline

When did blender start writing invalid spot sizes?

Blender 2.59 did not export spot_size.
Blender 2.61 and newer did export spot_size in Radians.
I have not checked on Blender 2.60 and below Blender 2.59

Gaia Clary (gaiaclary) updated this revision to Unknown Object (????).Feb 2 2014, 5:26 PM

removed unnecessary extra qualification