Fix: Python API doc build fails after previous pointcloud fix
This is now always in context, not just for experimental features. Ref #140516
This commit is contained in:
@@ -1227,9 +1227,10 @@ context_type_map = {
|
||||
"particle_settings": [("ParticleSettings", False)],
|
||||
"particle_system": [("ParticleSystem", False)],
|
||||
"particle_system_editable": [("ParticleSystem", False)],
|
||||
"property": [("AnyType", False), ("str", False), ("int", False)],
|
||||
"pointcloud": [("PointCloud", False)],
|
||||
"pose_bone": [("PoseBone", False)],
|
||||
"pose_object": [("Object", False)],
|
||||
"property": [("AnyType", False), ("str", False), ("int", False)],
|
||||
"scene": [("Scene", False)],
|
||||
"sculpt_object": [("Object", False)],
|
||||
"selectable_objects": [("Object", True)],
|
||||
@@ -1277,7 +1278,7 @@ context_type_map = {
|
||||
|
||||
if bpy.app.build_options.experimental_features:
|
||||
for key, value in {
|
||||
"pointcloud": [("PointCloud", False)],
|
||||
# No experimental members in context currently.
|
||||
}.items():
|
||||
assert key not in context_type_map, "Duplicate, the member must be removed from one of the dictionaries"
|
||||
context_type_map[key] = value
|
||||
|
||||
Reference in New Issue
Block a user