(self, context)
| 414 | return bool(search.active_baked_object(context)) |
| 415 | |
| 416 | def draw(self, context): |
| 417 | ks = search.active_baked_objects(context, prefer_parent=True) |
| 418 | |
| 419 | if len(ks) > 1: |
| 420 | self.layout.row().label(text=f"ST2 Baked: {len(ks)} objects") |
| 421 | self.layout.row().operator("st2.bake_select_all", text="Select All") |
| 422 | self.layout.row().operator("st2.delete_bake", text="Delete Bakes") |
| 423 | else: |
| 424 | self.layout.row().label(text=f"ST2 Baked: “{list(ks)[0].st2.text}”") |
| 425 | self.layout.row().operator("st2.bake_select_all", text="Select All") |
| 426 | self.layout.row().operator("st2.delete_bake", text="Delete Bake") |
| 427 | |
| 428 | |
| 429 | classes = [ |
nothing calls this directly
no outgoing calls
no test coverage detected