gendl icon indicating copy to clipboard operation
gendl copied to clipboard

Instances don't trigger tree updates in Tasty on topology changes

Open reiniervandijk opened this issue 11 years ago • 0 comments

On 1581, consider example

(define-object my-sequence (base-object)

  :input-slots
  ((no 2 :settable))

  :objects
  ((boxes :type 'box 
      :sequence (:size (the no)))))

When instantiating this object with Tasty using "Class Package:Type" everything is fine. However, when I go for the object expression option, we have strange behavior.

(make-self 'my-sequence)

fill out self in Tasty object expression box. Then try to alter the :no input message and (hopefully) replicate that an update in the tree is not happening. ONLY when clicking the update button in the interface or restarting Tasty with the same instance will cause an update. It's also leading to errors: when you decrease the number of sequence elements, non-existing sequence members (old-timers) are still shown and drawing these will give errors (obviously).

reiniervandijk avatar Jul 04 '13 09:07 reiniervandijk