Bug #34452: Colors not according to IFC file

pull/9297/head
Wieland Lindenthal 4 years ago
parent e2b3bf161b
commit 700d9c5488
  1. 2
      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

Loading…
Cancel
Save