Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/constraint.c
| Context not available. | |||||
| #include "BKE_tracking.h" | #include "BKE_tracking.h" | ||||
| #include "BKE_movieclip.h" | #include "BKE_movieclip.h" | ||||
| #include "BIK_api.h" | |||||
| #ifdef WITH_PYTHON | #ifdef WITH_PYTHON | ||||
| # include "BPY_extern.h" | # include "BPY_extern.h" | ||||
| #endif | #endif | ||||
| Context not available. | |||||
| return false; | return false; | ||||
| } | } | ||||
| void BKE_constraint_remove_post(Object *ob, bConstraint *con) | |||||
| { | |||||
| /* ITASC needs to be rebuilt once a constraint is removed [#26920] */ | |||||
| if (ELEM(con->type, CONSTRAINT_TYPE_KINEMATIC, CONSTRAINT_TYPE_SPLINEIK)) { | |||||
| BIK_clear_data(ob->pose); | |||||
| } | |||||
| } | |||||
| /* ......... */ | /* ......... */ | ||||
| /* Creates a new constraint, initializes its data, and returns it */ | /* Creates a new constraint, initializes its data, and returns it */ | ||||
| Context not available. | |||||