Skip to content

Commit

Permalink
Fix the rhino layers
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhankoral committed Aug 20, 2024
1 parent fa64451 commit 55bda78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def self.to_native(state, layer_collection, layer_or_folder, entities, &convert_
elements = layer_collection['@elements'] || layer_collection['elements']
name = layer_collection['name']
name = layer_collection['full_path'] if layer_collection['full_path']
name = SketchupModel::Query::Layer.get_last_increment_layer(sketchup_model, layer_collection['name'])
name = SketchupModel::Query::Layer.get_last_increment_layer(sketchup_model, name)

layer = sketchup_model.layers.find { |l| l.display_name == name }
layer_or_folder = layer if layer
Expand Down

0 comments on commit 55bda78

Please sign in to comment.