src/jwm_draw_framing/draw_framing.rb
## Reset the tool back to its initial state
Reset the tool back to its initial state
Reset the tool back to its initial state
def reset(view)
    @state = 0 
    @ip1.clear
    @ip2.clear
    @ip.clear
    if( view )
        view.tooltip = nil
        view.refresh if @drawn
    end
    @drawn = false
    @dragging = false
  end
def reset ( view ) @state = 0 @ip1 . clear @ip2 . clear @ip . clear if ( view ) view . tooltip = nil view . refresh if @drawn end @drawn = false @dragging = false end
Reset the tool back to its initial state
Reset the tool back to its initial state
##    puts "reset called"  ## clear the InputPoints
view
<not_specific>