(self, context, layout)
| 269 | return ["gp_branch"] |
| 270 | |
| 271 | def draw_buttons(self, context, layout): |
| 272 | properties = ["smooth_iterations", "radius", "radius_decrease", "branch_length"] |
| 273 | # bpy.ops.mod_tree.connect_strokes(point_dist=self.branch_length, automatic=True, connect_all=True, |
| 274 | # child_stroke_index=1, parent_stroke_index=0, |
| 275 | # smooth_iterations=self.smooth_iterations) |
| 276 | |
| 277 | op_props = layout.operator("mod_tree.connect_strokes", text='update strokes') |
| 278 | op_props.point_dist = self.branch_length |
| 279 | op_props.connect_all = True |
| 280 | op_props.child_stroke_index = 1 |
| 281 | op_props.parent_stroke_index = 0 |
| 282 | op_props.smooth_iterations = self.smooth_iterations |
| 283 | for i in properties: |
| 284 | layout.prop(self, i) |
| 285 | |
| 286 | def execute(self): |
| 287 |
nothing calls this directly
no outgoing calls
no test coverage detected