Changeset View
Changeset View
Standalone View
Standalone View
mocap/mocap_constraints.py
| Context not available. | |||||
| else: | else: | ||||
| fcurves = cons_obj.animation_data.action.fcurves | fcurves = cons_obj.animation_data.action.fcurves | ||||
| #Find the RNA data path of the constraint's influence | #Find the RNA data path of the constraint's influence | ||||
| RNA_paths = [] | RNA_paths = [real_constraint.path_from_id("influence")] | ||||
| RNA_paths.append(real_constraint.path_from_id("influence")) | |||||
| if m_constraint.type == "floor" or m_constraint.type == "point": | if m_constraint.type == "floor" or m_constraint.type == "point": | ||||
| RNA_paths += [real_constraint.path_from_id("max_x"), real_constraint.path_from_id("min_x")] | RNA_paths += [real_constraint.path_from_id("max_x"), real_constraint.path_from_id("min_x")] | ||||
| RNA_paths += [real_constraint.path_from_id("max_y"), real_constraint.path_from_id("min_y")] | RNA_paths += [real_constraint.path_from_id("max_y"), real_constraint.path_from_id("min_y")] | ||||
| Context not available. | |||||