Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_object_force.c
| Show First 20 Lines • Show All 1,122 Lines • ▼ Show 20 Lines | static void rna_def_collision(BlenderRNA *brna) | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| srna = RNA_def_struct(brna, "CollisionSettings", NULL); | srna = RNA_def_struct(brna, "CollisionSettings", NULL); | ||||
| RNA_def_struct_sdna(srna, "PartDeflect"); | RNA_def_struct_sdna(srna, "PartDeflect"); | ||||
| RNA_def_struct_path_func(srna, "rna_CollisionSettings_path"); | RNA_def_struct_path_func(srna, "rna_CollisionSettings_path"); | ||||
| RNA_def_struct_ui_text( | RNA_def_struct_ui_text( | ||||
| srna, "Collision Settings", "Collision settings for object in physics simulation"); | srna, "Collision Settings", "Collision settings for object in physics simulation"); | ||||
| RNA_define_lib_overridable(true); | |||||
| prop = RNA_def_property(srna, "use", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "deflect", 1); | RNA_def_property_boolean_sdna(prop, NULL, "deflect", 1); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Enabled", "Enable this objects as a collider for physics systems"); | prop, "Enabled", "Enable this objects as a collider for physics systems"); | ||||
| RNA_def_property_update(prop, 0, "rna_CollisionSettings_dependency_update"); | RNA_def_property_update(prop, 0, "rna_CollisionSettings_dependency_update"); | ||||
| /* Particle Interaction */ | /* Particle Interaction */ | ||||
| ▲ Show 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | static void rna_def_collision(BlenderRNA *brna) | ||||
| prop = RNA_def_property(srna, "use_normal", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_normal", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", PFIELD_CLOTH_USE_NORMAL); | RNA_def_property_boolean_sdna(prop, NULL, "flag", PFIELD_CLOTH_USE_NORMAL); | ||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "Override Normals", | "Override Normals", | ||||
| "Cloth collision impulses act in the direction of the collider normals " | "Cloth collision impulses act in the direction of the collider normals " | ||||
| "(more reliable in some cases)"); | "(more reliable in some cases)"); | ||||
| RNA_def_property_update(prop, 0, "rna_CollisionSettings_update"); | RNA_def_property_update(prop, 0, "rna_CollisionSettings_update"); | ||||
| RNA_define_lib_overridable(false); | |||||
| } | } | ||||
| static void rna_def_effector_weight(BlenderRNA *brna) | static void rna_def_effector_weight(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| srna = RNA_def_struct(brna, "EffectorWeights", NULL); | srna = RNA_def_struct(brna, "EffectorWeights", NULL); | ||||
| RNA_def_struct_sdna(srna, "EffectorWeights"); | RNA_def_struct_sdna(srna, "EffectorWeights"); | ||||
| RNA_def_struct_path_func(srna, "rna_EffectorWeight_path"); | RNA_def_struct_path_func(srna, "rna_EffectorWeight_path"); | ||||
| RNA_def_struct_ui_text(srna, "Effector Weights", "Effector weights for physics simulation"); | RNA_def_struct_ui_text(srna, "Effector Weights", "Effector weights for physics simulation"); | ||||
| RNA_def_struct_ui_icon(srna, ICON_PHYSICS); | RNA_def_struct_ui_icon(srna, ICON_PHYSICS); | ||||
| RNA_define_lib_overridable(true); | |||||
| /* Flags */ | /* Flags */ | ||||
| prop = RNA_def_property(srna, "apply_to_hair_growing", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "apply_to_hair_growing", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", EFF_WEIGHT_DO_HAIR); | RNA_def_property_boolean_sdna(prop, NULL, "flag", EFF_WEIGHT_DO_HAIR); | ||||
| RNA_def_property_ui_text(prop, "Use For Growing Hair", "Use force fields when growing hair"); | RNA_def_property_ui_text(prop, "Use For Growing Hair", "Use force fields when growing hair"); | ||||
| RNA_def_property_update(prop, 0, "rna_EffectorWeight_update"); | RNA_def_property_update(prop, 0, "rna_EffectorWeight_update"); | ||||
| /* General */ | /* General */ | ||||
| prop = RNA_def_property(srna, "collection", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "collection", PROP_POINTER, PROP_NONE); | ||||
| ▲ Show 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | static void rna_def_effector_weight(BlenderRNA *brna) | ||||
| RNA_def_property_update(prop, 0, "rna_EffectorWeight_update"); | RNA_def_property_update(prop, 0, "rna_EffectorWeight_update"); | ||||
| prop = RNA_def_property(srna, "smokeflow", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "smokeflow", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "weight[13]"); | RNA_def_property_float_sdna(prop, NULL, "weight[13]"); | ||||
| RNA_def_property_range(prop, -200.0f, 200.0f); | RNA_def_property_range(prop, -200.0f, 200.0f); | ||||
| RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.1, 3); | RNA_def_property_ui_range(prop, 0.0f, 1.0f, 0.1, 3); | ||||
| RNA_def_property_ui_text(prop, "Fluid Flow", "Fluid Flow effector weight"); | RNA_def_property_ui_text(prop, "Fluid Flow", "Fluid Flow effector weight"); | ||||
| RNA_def_property_update(prop, 0, "rna_EffectorWeight_update"); | RNA_def_property_update(prop, 0, "rna_EffectorWeight_update"); | ||||
| RNA_define_lib_overridable(false); | |||||
| } | } | ||||
| static void rna_def_field(BlenderRNA *brna) | static void rna_def_field(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| static const EnumPropertyItem field_type_items[] = { | static const EnumPropertyItem field_type_items[] = { | ||||
| ▲ Show 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | static void rna_def_field(BlenderRNA *brna) | ||||
| srna = RNA_def_struct(brna, "FieldSettings", NULL); | srna = RNA_def_struct(brna, "FieldSettings", NULL); | ||||
| RNA_def_struct_sdna(srna, "PartDeflect"); | RNA_def_struct_sdna(srna, "PartDeflect"); | ||||
| RNA_def_struct_path_func(srna, "rna_FieldSettings_path"); | RNA_def_struct_path_func(srna, "rna_FieldSettings_path"); | ||||
| RNA_def_struct_ui_text( | RNA_def_struct_ui_text( | ||||
| srna, "Field Settings", "Field settings for an object in physics simulation"); | srna, "Field Settings", "Field settings for an object in physics simulation"); | ||||
| RNA_def_struct_ui_icon(srna, ICON_PHYSICS); | RNA_def_struct_ui_icon(srna, ICON_PHYSICS); | ||||
| RNA_define_lib_overridable(true); | |||||
| /* Enums */ | /* Enums */ | ||||
| prop = RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "forcefield"); | RNA_def_property_enum_sdna(prop, NULL, "forcefield"); | ||||
| RNA_def_property_enum_items(prop, field_type_items); | RNA_def_property_enum_items(prop, field_type_items); | ||||
| RNA_def_property_enum_funcs(prop, NULL, "rna_FieldSettings_type_set", NULL); | RNA_def_property_enum_funcs(prop, NULL, "rna_FieldSettings_type_set", NULL); | ||||
| RNA_def_property_ui_text(prop, "Type", "Type of field"); | RNA_def_property_ui_text(prop, "Type", "Type of field"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_dependency_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_dependency_update"); | ||||
| Show All 27 Lines | static void rna_def_field(BlenderRNA *brna) | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Z Direction", "Effect in full or only positive/negative Z direction"); | prop, "Z Direction", "Effect in full or only positive/negative Z direction"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| /* Float */ | /* Float */ | ||||
| prop = RNA_def_property(srna, "strength", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "strength", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "f_strength"); | RNA_def_property_float_sdna(prop, NULL, "f_strength"); | ||||
| RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); | RNA_def_property_ui_range(prop, -FLT_MAX, FLT_MAX, 10, 3); | ||||
| RNA_def_property_ui_text(prop, "Strength", "Strength of force field"); | RNA_def_property_ui_text(prop, "Strength", "Strength of force field"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| /* different ui range to above */ | /* different ui range to above */ | ||||
| prop = RNA_def_property(srna, "linear_drag", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "linear_drag", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "f_strength"); | RNA_def_property_float_sdna(prop, NULL, "f_strength"); | ||||
| RNA_def_property_range(prop, -2.0f, 2.0f); | RNA_def_property_ui_range(prop, -2.0f, 2.0f, 10, 3); | ||||
| RNA_def_property_ui_text(prop, "Linear Drag", "Drag component proportional to velocity"); | RNA_def_property_ui_text(prop, "Linear Drag", "Drag component proportional to velocity"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| prop = RNA_def_property(srna, "harmonic_damping", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "harmonic_damping", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "f_damp"); | RNA_def_property_float_sdna(prop, NULL, "f_damp"); | ||||
| RNA_def_property_range(prop, 0.0f, 10.0f); | RNA_def_property_ui_range(prop, 0.0f, 10.0f, 10, 3); | ||||
| RNA_def_property_ui_text(prop, "Harmonic Damping", "Damping of the harmonic force"); | RNA_def_property_ui_text(prop, "Harmonic Damping", "Damping of the harmonic force"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| /* different ui range to above */ | /* different ui range to above */ | ||||
| prop = RNA_def_property(srna, "quadratic_drag", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "quadratic_drag", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "f_damp"); | RNA_def_property_float_sdna(prop, NULL, "f_damp"); | ||||
| RNA_def_property_range(prop, -2.0f, 2.0f); | RNA_def_property_ui_range(prop, -2.0f, 2.0f, 10, 3); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Quadratic Drag", "Drag component proportional to the square of velocity"); | prop, "Quadratic Drag", "Drag component proportional to the square of velocity"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| prop = RNA_def_property(srna, "flow", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "flow", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "f_flow"); | RNA_def_property_float_sdna(prop, NULL, "f_flow"); | ||||
| RNA_def_property_range(prop, 0.0f, 10.0f); | RNA_def_property_ui_range(prop, 0.0f, 10.0f, 10, 3); | ||||
| RNA_def_property_ui_text(prop, "Flow", "Convert effector force into air flow velocity"); | RNA_def_property_ui_text(prop, "Flow", "Convert effector force into air flow velocity"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| prop = RNA_def_property(srna, "wind_factor", PROP_FLOAT, PROP_FACTOR); | prop = RNA_def_property(srna, "wind_factor", PROP_FLOAT, PROP_FACTOR); | ||||
| RNA_def_property_float_sdna(prop, NULL, "f_wind_factor"); | RNA_def_property_float_sdna(prop, NULL, "f_wind_factor"); | ||||
| RNA_def_property_range(prop, 0.0f, 1.0f); | RNA_def_property_range(prop, 0.0f, 1.0f); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Wind Factor", | "Wind Factor", | ||||
| "How much the force is reduced when acting parallel to a surface, e.g. cloth"); | "How much the force is reduced when acting parallel to a surface, e.g. cloth"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| /* different ui range to above */ | /* different ui range to above */ | ||||
| prop = RNA_def_property(srna, "inflow", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "inflow", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "f_flow"); | RNA_def_property_float_sdna(prop, NULL, "f_flow"); | ||||
| RNA_def_property_range(prop, -10.0f, 10.0f); | RNA_def_property_ui_range(prop, -10.0f, 10.0f, 10, 3); | ||||
| RNA_def_property_ui_text(prop, "Inflow", "Inwards component of the vortex force"); | RNA_def_property_ui_text(prop, "Inflow", "Inwards component of the vortex force"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| prop = RNA_def_property(srna, "size", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "size", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "f_size"); | RNA_def_property_float_sdna(prop, NULL, "f_size"); | ||||
| RNA_def_property_range(prop, 0.0f, FLT_MAX); | RNA_def_property_range(prop, 0.0f, FLT_MAX); | ||||
| RNA_def_property_ui_range(prop, 0.0f, 10.0f, 1.0f, 3); | RNA_def_property_ui_range(prop, 0.0f, 10.0f, 1.0f, 3); | ||||
| RNA_def_property_ui_text(prop, "Size", "Size of the turbulence"); | RNA_def_property_ui_text(prop, "Size", "Size of the turbulence"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| prop = RNA_def_property(srna, "rest_length", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "rest_length", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "f_size"); | RNA_def_property_float_sdna(prop, NULL, "f_size"); | ||||
| RNA_def_property_range(prop, 0.0f, 1000.0f); | RNA_def_property_range(prop, 0.0f, FLT_MAX); | ||||
| RNA_def_property_ui_range(prop, 0.0f, 1000.0f, 10, 3); | |||||
| RNA_def_property_ui_text(prop, "Rest Length", "Rest length of the harmonic force"); | RNA_def_property_ui_text(prop, "Rest Length", "Rest length of the harmonic force"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| prop = RNA_def_property(srna, "falloff_power", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "falloff_power", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "f_power"); | RNA_def_property_float_sdna(prop, NULL, "f_power"); | ||||
| RNA_def_property_range(prop, 0.0f, 10.0f); | RNA_def_property_range(prop, 0.0f, 10.0f); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Falloff Power", "How quickly strength falls off with distance from the force field"); | prop, "Falloff Power", "How quickly strength falls off with distance from the force field"); | ||||
| ▲ Show 20 Lines • Show All 141 Lines • ▼ Show 20 Lines | static void rna_def_field(BlenderRNA *brna) | ||||
| RNA_def_property_ui_text(prop, "Domain Object", "Select domain object of the smoke simulation"); | RNA_def_property_ui_text(prop, "Domain Object", "Select domain object of the smoke simulation"); | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE); | RNA_def_property_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| /********** Curve Guide Field Settings **********/ | /********** Curve Guide Field Settings **********/ | ||||
| prop = RNA_def_property(srna, "guide_minimum", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "guide_minimum", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "f_strength"); | RNA_def_property_float_sdna(prop, NULL, "f_strength"); | ||||
| RNA_def_property_range(prop, 0.0f, 1000.0f); | RNA_def_property_ui_range(prop, 0.0f, 1000.0f, 10, 3); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Minimum Distance", "The distance from which particles are affected fully"); | prop, "Minimum Distance", "The distance from which particles are affected fully"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| prop = RNA_def_property(srna, "guide_free", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "guide_free", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "free_end"); | RNA_def_property_float_sdna(prop, NULL, "free_end"); | ||||
| RNA_def_property_range(prop, 0.0f, 0.99f); | RNA_def_property_range(prop, 0.0f, 0.99f); | ||||
| RNA_def_property_ui_text(prop, "Free", "Guide-free time from particle life's end"); | RNA_def_property_ui_text(prop, "Free", "Guide-free time from particle life's end"); | ||||
| ▲ Show 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | static void rna_def_field(BlenderRNA *brna) | ||||
| prop = RNA_def_property(srna, "guide_kink_amplitude", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "guide_kink_amplitude", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "kink_amp"); | RNA_def_property_float_sdna(prop, NULL, "kink_amp"); | ||||
| RNA_def_property_range(prop, 0.0f, 10.0f); | RNA_def_property_range(prop, 0.0f, 10.0f); | ||||
| RNA_def_property_ui_text(prop, "Amplitude", "The amplitude of the offset"); | RNA_def_property_ui_text(prop, "Amplitude", "The amplitude of the offset"); | ||||
| RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | RNA_def_property_update(prop, 0, "rna_FieldSettings_update"); | ||||
| /* Variables used for Curve Guide, already wrapped, used for other fields too */ | /* Variables used for Curve Guide, already wrapped, used for other fields too */ | ||||
| /* falloff_power, use_max_distance, maximum_distance */ | /* falloff_power, use_max_distance, maximum_distance */ | ||||
| RNA_define_lib_overridable(false); | |||||
| } | } | ||||
| static void rna_def_softbody(BlenderRNA *brna) | static void rna_def_softbody(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| static const EnumPropertyItem collision_type_items[] = { | static const EnumPropertyItem collision_type_items[] = { | ||||
| ▲ Show 20 Lines • Show All 319 Lines • ▼ Show 20 Lines | static void rna_def_softbody(BlenderRNA *brna) | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE); | RNA_def_property_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_ui_text(prop, "Collision Collection", "Limit colliders to this collection"); | RNA_def_property_ui_text(prop, "Collision Collection", "Limit colliders to this collection"); | ||||
| RNA_def_property_update(prop, 0, "rna_softbody_dependency_update"); | RNA_def_property_update(prop, 0, "rna_softbody_dependency_update"); | ||||
| prop = RNA_def_property(srna, "effector_weights", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "effector_weights", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_pointer_sdna(prop, NULL, "effector_weights"); | RNA_def_property_pointer_sdna(prop, NULL, "effector_weights"); | ||||
| RNA_def_property_struct_type(prop, "EffectorWeights"); | RNA_def_property_struct_type(prop, "EffectorWeights"); | ||||
| RNA_def_property_clear_flag(prop, PROP_EDITABLE); | RNA_def_property_clear_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); | |||||
| RNA_def_property_ui_text(prop, "Effector Weights", ""); | RNA_def_property_ui_text(prop, "Effector Weights", ""); | ||||
| } | } | ||||
| void RNA_def_object_force(BlenderRNA *brna) | void RNA_def_object_force(BlenderRNA *brna) | ||||
| { | { | ||||
| rna_def_pointcache_active(brna); | rna_def_pointcache_active(brna); | ||||
| rna_def_collision(brna); | rna_def_collision(brna); | ||||
| rna_def_effector_weight(brna); | rna_def_effector_weight(brna); | ||||
| rna_def_field(brna); | rna_def_field(brna); | ||||
| rna_def_softbody(brna); | rna_def_softbody(brna); | ||||
| } | } | ||||
| #endif | #endif | ||||