File tree 1 file changed +1
-9
lines changed
Filter options
1 file changed +1
-9
lines changed
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ def __init_subclass__(cls, **kwargs):
56
56
# all graphics give off a feature event when deleted
57
57
cls .features = {* cls .features }#, "deleted"}
58
58
59
+ # graphic feature class attributes
59
60
for f in cls .features :
60
61
setattr (cls , f , GraphicFeatureDescriptor (f ))
61
62
@@ -181,15 +182,6 @@ def children(self) -> list[WorldObject]:
181
182
def _fpl_add_plot_area_hook (self , plot_area ):
182
183
self ._plot_area = plot_area
183
184
184
- def __setattr__ (self , key , value ):
185
- if hasattr (self , key ):
186
- attr = getattr (self , key )
187
- if isinstance (attr , GraphicFeature ):
188
- attr ._set (value )
189
- return
190
-
191
- super ().__setattr__ (key , value )
192
-
193
185
def __repr__ (self ):
194
186
rval = f"{ self .__class__ .__name__ } @ { hex (id (self ))} "
195
187
if self .name is not None :
You can’t perform that action at this time.
0 commit comments