ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More
Cannot clone Sketchup::Color objects
-
When you try to clone a Sketchup::Color object using .dup or .clone both methods return nil.
I ran into a case where I cloned a colour - at least I thought so - and gave it to a view.draw operation where SketchUp would then freeze.` c = Sketchup::Color.new('red')
Color(255, 0, 0, 255)
n = c.clone
nil
n = c.dup
nil`FYI
Advertisement