Thursday, March 19, 2009

Automatically propagation (Parametric modelling) working

Automatically propagated events are working. Still there are too many called events (a thing I will look more for fixing). In the past, the code was like this: we mark the things that was changed, and we visit the tree of OCAF and we mark in another step things that may be modified from changes (and the code did not always work right). Right now, because a function have dependencies, if any dependency was changed, the function is notified and regenerate a shape.

Use case that works nice right now:
- create a rectangle, extrude it
- pick the rectangle in the OCAF tree
- change width and should resize the depending extrude

Still the changes seems to lag, and this is because there are many notifications that are not filtered or a bug. I work to find the cause!

No comments: