Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-03-30 14:29:31 +0300
committerJacques Lucke <jacques@blender.org>2022-03-30 14:29:49 +0300
commit3656e66ac24d1c3b43b70f3782ea8ba2056bad52 (patch)
tree992be87b9aaf4ee1b58158f51e6a32458da12a71 /release/scripts/startup/bl_ui
parent9b25fafbec3f3d7324600b6ce0aacfbee7d0e21e (diff)
Curves: support converting curves to legacy hair system
This adds a new operator that converts all selected curves objects into hair particle systems on their respective surface objects. Existing particle systems with the correct name are updated, otherwise a new particle system is added. The purpose of the operator is the make the new curve sculpting tools useful even before all functionality is ported over from the old hair system. The operator can be found in the `Object > Convert` menu in object mode, when a curves object is active. Differential Revision: https://developer.blender.org/D14441
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 0919faa8460..a0336f7e7bf 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2865,6 +2865,9 @@ class VIEW3D_MT_object_convert(Menu):
if bpy.app.build_options.potrace:
layout.operator("gpencil.trace_image", icon='OUTLINER_OB_GREASEPENCIL')
+ if ob and ob.type == 'CURVES':
+ layout.operator("curves.convert_to_particle_system", text="Particle System")
+
class VIEW3D_MT_make_links(Menu):
bl_label = "Link/Transfer Data"