π’ PlaceMaker | 25% off for February including new Google Earth data imports!
Learn more
Observers within a Tool?
-
I need to capture the
onRenderingOptionsChanged
event from within a tool.I tried adding the
onRenderingOptionsChanged
method to my tool class, then within theactivate
method I addputs model.add_observer(self)
. That returnstrue
- but yet the event doesn't trigger. -
facepalm!
model.rendering_options.add_observer(self)
- duh!
Advertisement