Fix: Missing changes in recent "Curves" rename
More missing changes in fe1816f67f
. This will hopefully fix a
Python API docs build error, and fixes the "Object Types Visibility"
popover.
This commit is contained in:
parent
75bcc096a1
commit
40e8b9775d
|
@ -1078,7 +1078,7 @@ context_type_map = {
|
||||||
"gpencil": ("GreasePencil", False),
|
"gpencil": ("GreasePencil", False),
|
||||||
"gpencil_data": ("GreasePencil", False),
|
"gpencil_data": ("GreasePencil", False),
|
||||||
"gpencil_data_owner": ("ID", False),
|
"gpencil_data_owner": ("ID", False),
|
||||||
"hair": ("Hair", False),
|
"curves": ("Hair Curves", False),
|
||||||
"id": ("ID", False),
|
"id": ("ID", False),
|
||||||
"image_paint_object": ("Object", False),
|
"image_paint_object": ("Object", False),
|
||||||
"lattice": ("Lattice", False),
|
"lattice": ("Lattice", False),
|
||||||
|
|
|
@ -5628,7 +5628,7 @@ class VIEW3D_PT_object_type_visibility(Panel):
|
||||||
("surf", "Surface"),
|
("surf", "Surface"),
|
||||||
("meta", "Meta"),
|
("meta", "Meta"),
|
||||||
("font", "Text"),
|
("font", "Text"),
|
||||||
("hair", "Hair"),
|
("curves", "Hair Curves"),
|
||||||
("pointcloud", "Point Cloud"),
|
("pointcloud", "Point Cloud"),
|
||||||
("volume", "Volume"),
|
("volume", "Volume"),
|
||||||
("grease_pencil", "Grease Pencil"),
|
("grease_pencil", "Grease Pencil"),
|
||||||
|
@ -5648,7 +5648,7 @@ class VIEW3D_PT_object_type_visibility(Panel):
|
||||||
col.separator()
|
col.separator()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if attr == "hair" and not hasattr(bpy.data, "hairs"):
|
if attr == "curves" and not hasattr(bpy.data, "hair_curves"):
|
||||||
continue
|
continue
|
||||||
elif attr == "pointcloud" and not hasattr(bpy.data, "pointclouds"):
|
elif attr == "pointcloud" and not hasattr(bpy.data, "pointclouds"):
|
||||||
continue
|
continue
|
||||||
|
|
|
@ -5004,7 +5004,9 @@ static void rna_def_space_view3d(BlenderRNA *brna)
|
||||||
{"Surface", (1 << OB_SURF), {"show_object_viewport_surf", "show_object_select_surf"}},
|
{"Surface", (1 << OB_SURF), {"show_object_viewport_surf", "show_object_select_surf"}},
|
||||||
{"Meta", (1 << OB_MBALL), {"show_object_viewport_meta", "show_object_select_meta"}},
|
{"Meta", (1 << OB_MBALL), {"show_object_viewport_meta", "show_object_select_meta"}},
|
||||||
{"Font", (1 << OB_FONT), {"show_object_viewport_font", "show_object_select_font"}},
|
{"Font", (1 << OB_FONT), {"show_object_viewport_font", "show_object_select_font"}},
|
||||||
{"Hair", (1 << OB_CURVES), {"show_object_viewport_hair", "show_object_select_hair"}},
|
{"Hair Curves",
|
||||||
|
(1 << OB_CURVES),
|
||||||
|
{"show_object_viewport_curves", "show_object_select_curves"}},
|
||||||
{"Point Cloud",
|
{"Point Cloud",
|
||||||
(1 << OB_POINTCLOUD),
|
(1 << OB_POINTCLOUD),
|
||||||
{"show_object_viewport_pointcloud", "show_object_select_pointcloud"}},
|
{"show_object_viewport_pointcloud", "show_object_select_pointcloud"}},
|
||||||
|
|
Loading…
Reference in New Issue