API Cleanup: Use BKE_constraint prefix for constraint api

This commit is contained in:
2014-04-11 11:47:07 +10:00
parent a15b3c4d11
commit 3216e4b202
36 changed files with 161 additions and 181 deletions

View File

@@ -478,7 +478,7 @@ void DocumentImporter::create_constraints(ExtraTags *et, Object *ob)
std::string name;
short* type = 0;
et->setData("type", type);
BKE_add_ob_constraint(ob, "Test_con", *type);
BKE_constraint_add_for_object(ob, "Test_con", *type);
}
}