_
This commit is contained in:
parent
d8ef457c22
commit
a0c7caf727
@ -93,7 +93,7 @@ class Multiscene(Scene):
|
|||||||
subscene.progress()
|
subscene.progress()
|
||||||
|
|
||||||
def get_i_objects(self):
|
def get_i_objects(self):
|
||||||
i_objects = copy.copy(self.i_objects)
|
i_objects = [[copy.copy(self.i_objects), self.mouse_pos]]
|
||||||
|
|
||||||
for subscene in self.subscenes:
|
for subscene in self.subscenes:
|
||||||
i_objects += subscene.get_i_objects()
|
i_objects += subscene.get_i_objects()
|
||||||
|
@ -56,4 +56,4 @@ class Scene(Screen):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def get_i_objects(self):
|
def get_i_objects(self):
|
||||||
return self.i_objects
|
return [[self.i_objects, self.mouse_pos]]
|
||||||
|
@ -18,7 +18,8 @@ class RopeInteractiveDot:
|
|||||||
self.position = mouse_pos
|
self.position = mouse_pos
|
||||||
|
|
||||||
if clicked:
|
if clicked:
|
||||||
for object_ in self.scene.get_i_objects():
|
for object_batch in self.scene.get_i_objects():
|
||||||
|
for object_ in object_batch[0]:
|
||||||
if object_.__class__.__name__ == "Rope":
|
if object_.__class__.__name__ == "Rope":
|
||||||
for node in object_.nodes:
|
for node in object_.nodes:
|
||||||
if node.locked is False:
|
if node.locked is False:
|
||||||
|
Loading…
Reference in New Issue
Block a user