diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-05-23 13:17:17 +0300 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2019-05-23 13:29:20 +0300 |
commit | 6be9d19951ed460829d379aa90953b14a9f281f2 (patch) | |
tree | 45fe275c232ff0b4fb0e4e7205d53c8fdd6f8e9a /source/blender/collada/CameraExporter.h | |
parent | e9cf9e0a397f9589e00d980f0c0489641e7ed57e (diff) |
Collada exporter update
Added new feature: Collada: global axis rotation upon export (UI)
The new feature allows to specify the target rest coordinate system upon export.
This allows for example to export a character that is in Blender orientation (Y forward)
to match the Secondlife orientation where (-X forward)
- Refactor:Added new utility methods to collada_utils
Made BCMatrix class more powerfull
moved Blender related structures into new BlenderContext class
added class wrapper to encapsulate ExportSettings structure
Added blender context getters to ExportSettings
added access methods to BlenderContext into ExportSettings class
Moved class BCMatrix into BlenderContext
moved utility functions from collada_util into BlenderContext
replace own function for parenting by a call to ED_object_parent_set()
- Cleanup: removed obsolete parameters from methods
renamed parameters for better understanding
cleanup whitespace and indentation
removed obsolete comments
Diffstat (limited to 'source/blender/collada/CameraExporter.h')
-rw-r--r-- | source/blender/collada/CameraExporter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/collada/CameraExporter.h b/source/blender/collada/CameraExporter.h index 0a90fc017e8..04bcc4a5dad 100644 --- a/source/blender/collada/CameraExporter.h +++ b/source/blender/collada/CameraExporter.h @@ -34,13 +34,13 @@ extern "C" { class CamerasExporter : COLLADASW::LibraryCameras { public: - CamerasExporter(COLLADASW::StreamWriter *sw, const ExportSettings *export_settings); + CamerasExporter(COLLADASW::StreamWriter *sw, BCExportSettings &export_settings); void exportCameras(Scene *sce); void operator()(Object *ob, Scene *sce); private: bool exportBlenderProfile(COLLADASW::Camera &cla, Camera *cam); - const ExportSettings *export_settings; + BCExportSettings &export_settings; }; #endif |