Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_physics_common.py
| Context not available. | |||||
| is_saved = bpy.data.is_saved | is_saved = bpy.data.is_saved | ||||
| # NOTE: TODO temporarly used until the animate properties are properly skipped. | # NOTE: TODO temporarily used until the animate properties are properly skipped. | ||||
| layout.use_property_decorate = False # No animation (remove this later on). | layout.use_property_decorate = False # No animation (remove this later on). | ||||
| if not cachetype == 'RIGID_BODY': | if not cachetype == 'RIGID_BODY': | ||||
| Context not available. | |||||
| layout = self.layout | layout = self.layout | ||||
| layout.use_property_split = True | layout.use_property_split = True | ||||
| # NOTE: TODO temporarly used until the animate properties are properly skipped. | # NOTE: TODO temporarily used until the animate properties are properly skipped. | ||||
| layout.use_property_decorate = False # No animation (remove this later on). | layout.use_property_decorate = False # No animation (remove this later on). | ||||
| layout.prop(weights, "collection") | layout.prop(weights, "collection") | ||||
| Context not available. | |||||