parent observer now static and always last

This commit is contained in:
Max Zwiessele 2014-02-27 08:07:00 +00:00
parent f1487c6935
commit 023203dc3a
3 changed files with 5 additions and 3 deletions

View file

@ -161,6 +161,8 @@ class Param(Constrainable, ObservableArray, Gradcheckable):
return new_arr
def __setitem__(self, s, val):
super(Param, self).__setitem__(s, val)
if self.has_parent():
self._direct_parent_._notify_parameters_changed()
#self._notify_observers()
#===========================================================================