[Bf-blender-cvs] [ecc2db8a3a7] master: UI: Rename itmes in point cloud add attribute menu
Hans Goudey
noreply at git.blender.org
Thu Apr 15 14:54:04 CEST 2021
Commit: ecc2db8a3a74ff11f2d7e46fbfa28f1ebe58b9ed
Author: Hans Goudey
Date: Thu Apr 15 07:53:45 2021 -0500
Branches: master
https://developer.blender.org/rBecc2db8a3a74ff11f2d7e46fbfa28f1ebe58b9ed
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.
===================================================================
M release/scripts/startup/bl_ui/properties_data_pointcloud.py
===================================================================
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()
More information about the Bf-blender-cvs
mailing list