Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/modules/rna_info.py
| Context not available. | |||||
| def get_py_class_from_rna(rna_type): | def get_py_class_from_rna(rna_type): | ||||
| """ Get's the Python type for a class which isn't necessarily added to ``bpy.types``. | """ Gets the Python type for a class which isn't necessarily added to ``bpy.types``. | ||||
| """ | """ | ||||
| identifier = rna_type.identifier | identifier = rna_type.identifier | ||||
| py_class = getattr(bpy.types, identifier, None) | py_class = getattr(bpy.types, identifier, None) | ||||
| Context not available. | |||||