diff options
author | Hans Goudey <h.goudey@me.com> | 2022-02-11 00:51:00 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-02-11 00:51:26 +0300 |
commit | 40e8b9775d34301595f18d9bf0b35e3ada545a1d (patch) | |
tree | 5327cabf6446db287729aac4a05671fbc605c112 /release/scripts/startup/bl_ui | |
parent | 75bcc096a1892beb3a3be371f2262ec8b3c5eea6 (diff) |
Fix: Missing changes in recent "Curves" rename
More missing changes in fe1816f67fbc6aaf3. This will hopefully fix a
Python API docs build error, and fixes the "Object Types Visibility"
popover.
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index ea7a1885369..a8a26edc554 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -5628,7 +5628,7 @@ class VIEW3D_PT_object_type_visibility(Panel): ("surf", "Surface"), ("meta", "Meta"), ("font", "Text"), - ("hair", "Hair"), + ("curves", "Hair Curves"), ("pointcloud", "Point Cloud"), ("volume", "Volume"), ("grease_pencil", "Grease Pencil"), @@ -5648,7 +5648,7 @@ class VIEW3D_PT_object_type_visibility(Panel): col.separator() continue - if attr == "hair" and not hasattr(bpy.data, "hairs"): + if attr == "curves" and not hasattr(bpy.data, "hair_curves"): continue elif attr == "pointcloud" and not hasattr(bpy.data, "pointclouds"): continue |