MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / link_prims

Method link_prims

scratchattach/editor/sprite.py:130–135  ·  view source on GitHub ↗

Link primitives to corresponding VLB objects (requires project attribute)

(self)

Source from the content-addressed store, hash-verified

128 _vlb.sprite = self
129
130 def link_prims(self):
131 """
132 Link primitives to corresponding VLB objects (requires project attribute)
133 """
134 for _prim in self.prims.values():
135 _prim.link_using_sprite()
136
137 def link_blocks(self):
138 """

Callers 1

link_subcomponentsMethod · 0.95

Calls 1

link_using_spriteMethod · 0.45

Tested by

no test coverage detected