Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d.py
| Context not available. | |||||
| layout.separator() | layout.separator() | ||||
| layout.menu("VIEW3D_MT_select_random") | |||||
| layout.separator() | |||||
| layout.operator("particle.select_roots", text="Roots") | layout.operator("particle.select_roots", text="Roots") | ||||
| layout.operator("particle.select_tips", text="Tips") | layout.operator("particle.select_tips", text="Tips") | ||||
| class RandomMenu(): | |||||
| bl_label = "Random" | |||||
| _operator_name = "" | |||||
| def draw(self, context): | |||||
| layout = self.layout | |||||
| layout.operator("particle.select_random_hairs", text="Hair(s)") | |||||
| layout.operator("particle.select_random_points", text="Control Point(s)") | |||||
| class VIEW3D_MT_select_random(RandomMenu, Menu): | |||||
| _operator_name = "particle" | |||||
| class VIEW3D_MT_edit_mesh_select_similar(Menu): | class VIEW3D_MT_edit_mesh_select_similar(Menu): | ||||
| bl_label = "Select Similar" | bl_label = "Select Similar" | ||||
| Context not available. | |||||
| layout.separator() | layout.separator() | ||||
| layout.menu("VIEW3D_MT_select_random") | |||||
| layout.separator() | |||||
| layout.operator("particle.select_more") | layout.operator("particle.select_more") | ||||
| layout.operator("particle.select_less") | layout.operator("particle.select_less") | ||||
| Context not available. | |||||