class RuboCop::Cop::SketchupDeprecations::SetTextureProjection
Method is deprecated because it creates invalid UV mapping. Saving the model will display a dialog indicating that the model needs to be repaired. Once repaired the UV mapping will visually change.
Constants
- MSG
Public Instance Methods
on_send(node)
click to toggle source
# File lib/rubocop/sketchup/cop/deprecations/set_texture_projection.rb, line 17 def on_send(node) return unless set_texture_projection?(node) add_offense(node, location: :selector) end