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>2021-04-15 15:53:45 +0300
committerHans Goudey <h.goudey@me.com>2021-04-15 15:53:45 +0300
commitecc2db8a3a74ff11f2d7e46fbfa28f1ebe58b9ed (patch)
tree867348f976724935e4ea12dd81315792e80381df /release
parent27e13a608f605d16ccc68b5922d7124d8ccc3006 (diff)
UI: Rename itmes in point cloud add attribute menu
Since these were added, we decided that builtin and reserved name attributes start with a lowercase letter. We also use "id" already in a few nodes, so this change will be consistent with that.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_pointcloud.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_pointcloud.py b/release/scripts/startup/bl_ui/properties_data_pointcloud.py
index f0584c81c0c..3b7e7a42fd4 100644
--- a/release/scripts/startup/bl_ui/properties_data_pointcloud.py
+++ b/release/scripts/startup/bl_ui/properties_data_pointcloud.py
@@ -71,10 +71,10 @@ class POINTCLOUD_MT_add_attribute(Menu):
layout = self.layout
pointcloud = context.pointcloud
- self.add_standard_attribute(layout, pointcloud, 'Radius', 'FLOAT', 'POINT')
- self.add_standard_attribute(layout, pointcloud, 'Color', 'FLOAT_COLOR', 'POINT')
- self.add_standard_attribute(layout, pointcloud, 'Particle ID', 'INT', 'POINT')
- self.add_standard_attribute(layout, pointcloud, 'Velocity', 'FLOAT_VECTOR', 'POINT')
+ self.add_standard_attribute(layout, pointcloud, 'radius', 'FLOAT', 'POINT')
+ self.add_standard_attribute(layout, pointcloud, 'color', 'FLOAT_COLOR', 'POINT')
+ self.add_standard_attribute(layout, pointcloud, 'id', 'INT', 'POINT')
+ self.add_standard_attribute(layout, pointcloud, 'velocity', 'FLOAT_VECTOR', 'POINT')
layout.separator()