(self)
| 284 | layout.prop(self, i) |
| 285 | |
| 286 | def execute(self): |
| 287 | |
| 288 | gp = bpy.context.scene.grease_pencil |
| 289 | if gp is not None and gp.layers.active is not None and gp.layers.active.active_frame is not None and len( |
| 290 | gp.layers.active.active_frame.strokes) > 0 and len(gp.layers.active.active_frame.strokes[0].points) > 1: |
| 291 | |
| 292 | strokes = [[i.co for i in j.points] for j in gp.layers.active.active_frame.strokes] |
| 293 | root = build_tree_from_strokes(strokes, self.radius, self.radius_decrease) |
| 294 | return root |
| 295 | |
| 296 | |
| 297 | class SplitNode(Node, ModularTreeNode): |
nothing calls this directly
no test coverage detected