mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 00:37:50 -06:00
Use isinstance() instead or issubclass()
CURA-4525
This commit is contained in:
parent
51316e1dc1
commit
b54b075cc9
8 changed files with 15 additions and 15 deletions
|
@ -30,7 +30,7 @@ class CuraSceneController(QObject):
|
|||
source = args[0]
|
||||
else:
|
||||
source = None
|
||||
if not issubclass(type(source), SceneNode):
|
||||
if not isinstance(source, SceneNode):
|
||||
return
|
||||
max_build_plate = self._calcMaxBuildPlate()
|
||||
changed = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue