fix for change to newer OpenCollada API #45956

Closed
opened 2015-08-30 04:36:12 +02:00 by Lawrence D'Oliveiro · 8 comments

I build OpenCollada from source, and Blender fails to compile correctly against it. It appears there has been a change to the DocumentExporter API. The enclosed patch opencollada-compile-fix.patch fixes Blender so it continues to compile correctly.

I build OpenCollada from source, and Blender fails to compile correctly against it. It appears there has been a change to the DocumentExporter API. The enclosed patch [opencollada-compile-fix.patch](https://archive.blender.org/developer/F229115/opencollada-compile-fix.patch) fixes Blender so it continues to compile correctly.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @ldo

Added subscriber: @ldo

Added subscribers: @GaiaClary, @mont29

Added subscribers: @GaiaClary, @mont29

Thanks for the patch, but we have a specific opencollada version we use for blender, afaik there is no plan to update that lib in near future, @GaiaClary?

Thanks for the patch, but we have a specific opencollada version we use for blender, afaik there is no plan to update that lib in near future, @GaiaClary?
Gaia Clary was assigned by Bastien Montagne 2015-08-30 08:39:17 +02:00
Member

OpenCollada does not have "stable releases", just a series of commits (which almost always result in a stable library though). For Blender we provide prebuilt libraries for Windows and OSX. We would be forced to rebuild the libraries for every commit on the OpenCollada side if we always wanted to be up to date with the most recent revision of that library. This is not feasible.

The decision to update to a newer OpenCollada version happens if OpenCollada provides something new that helps us to improve the Blender exporter/importer Right now we use OpenCollada revision

3335ac164e

As far as i know the Linux distributions provide/use a script which determines exactly which libraries have to be used to successfully build blender. This includes information about the OpenCollada revision. It might be helpful to have sort of configuration information where we could drop the current used revision. But we do not (yet) have this.

Anyways thanks for the patch. We will apply it as soon as we have the need to update to a newer revision of OpenCollada.

OpenCollada does not have "stable releases", just a series of commits (which almost always result in a stable library though). For Blender we provide prebuilt libraries for Windows and OSX. We would be forced to rebuild the libraries for every commit on the OpenCollada side if we always wanted to be up to date with the most recent revision of that library. This is not feasible. The decision to update to a newer OpenCollada version happens if OpenCollada provides something new that helps us to improve the Blender exporter/importer Right now we use OpenCollada revision https://github.com/KhronosGroup/OpenCOLLADA/commit/3335ac164e68b2512a40914b14c74db260e6ff7d As far as i know the Linux distributions provide/use a script which determines exactly which libraries have to be used to successfully build blender. This includes information about the OpenCollada revision. It might be helpful to have sort of configuration information where we could drop the current used revision. But we do not (yet) have this. Anyways thanks for the patch. We will apply it as soon as we have the need to update to a newer revision of OpenCollada.
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Member

This patch will be applied when necessary (when an update to a newer revision of OpenCollada becomes necessary)

This patch will be applied when necessary (when an update to a newer revision of OpenCollada becomes necessary)
Updated patch.[opencollada-compile-fix.patch](https://archive.blender.org/developer/F261403/opencollada-compile-fix.patch)
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#45956
No description provided.