Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Bug #34452: Colors not according to IFC file

Wieland Lindenthal700d9c548835
diff --git a/modules/bim/app/services/bim/ifc_models/view_converter_service.rb b/modules/bim/app/services/bim/ifc_models/view_converter_service.rb
index 9a1594a53f1..eb3c29e7eed 100644
--- a/modules/bim/app/services/bim/ifc_models/view_converter_service.rb
+++ b/modules/bim/app/services/bim/ifc_models/view_converter_service.rb
@@ -150,7 +150,7 @@ module Bim
Rails.logger.debug { "Converting #{ifc_model.inspect} to GLTF" }
convert!(dae_filepath, 'gltf') do |target_file|
- Open3.capture2e('COLLADA2GLTF', '-i', dae_filepath, '-o', target_file)
+ Open3.capture2e('COLLADA2GLTF', '--materialsCommon', '-i', dae_filepath, '-o', target_file)
end
end