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:
authorHans Goudey <h.goudey@me.com>2022-06-03 16:54:03 +0300
committerHans Goudey <h.goudey@me.com>2022-06-03 16:54:03 +0300
commit12722bd354589058a713cf875fa291ed129d6bb5 (patch)
tree9debf23aff1cfdb074aac70fa12e9b9ef58b7133 /release/scripts/startup/bl_ui/properties_data_curves.py
parent2780c7e3123653efc28be92210c67ff0d078947b (diff)
Curves: Add surface UV map name property
In the latest discussions about curves/hair mesh attachement information (T95776), it was decided to use UV coordinates to store where on the mesh each root is. For that, we have to specify which of the UV map attributes to use for UV lookups. This property isn't used yet, but it will be shortly when refactoring the attachement information in the add brush and the to particle system conversion. Differential Revision: https://developer.blender.org/D15115
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_data_curves.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_curves.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_curves.py b/release/scripts/startup/bl_ui/properties_data_curves.py
index 231e6634c68..ed7f6e3697c 100644
--- a/release/scripts/startup/bl_ui/properties_data_curves.py
+++ b/release/scripts/startup/bl_ui/properties_data_curves.py
@@ -44,6 +44,7 @@ class DATA_PT_curves_surface(DataButtonsPanel, Panel):
layout.use_property_split = True
layout.prop(ob.data, "surface")
+ layout.prop(ob.data, "surface_uv_map", text="UV Map")
class CURVES_MT_add_attribute(Menu):