thomthom / bezier-surface

Bezier Surface Editor for SketchUp
https://extensions.sketchup.com/en/content/bezier-surface
MIT License
10 stars 1 forks source link

Create Action State Cache #28

Closed thomthom closed 11 years ago

thomthom commented 11 years ago

Original report by me.


In order to be able to correct actions via the VCB a system should be implemented that takes care of storing the info needed to recreate last action with the new input.

thomthom commented 11 years ago

Not implemented. Instead a more flexible EntityCache class was introduced in e5476fb.

thomthom commented 11 years ago
#!ruby

action = Action.new( name, surface ) { |value|
  # Generate a transformation object from given value.
  # Or perform an operation?
}
action.adjust( new_value ) # Undo, redo operation