Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_logic/logic_window.c')
-rw-r--r--source/blender/editors/space_logic/logic_window.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/space_logic/logic_window.c b/source/blender/editors/space_logic/logic_window.c
index 184357344e1..97b6c32d81d 100644
--- a/source/blender/editors/space_logic/logic_window.c
+++ b/source/blender/editors/space_logic/logic_window.c
@@ -1084,7 +1084,7 @@ static void get_armature_bone_constraint(Object *ob, const char *posechannel, co
{
/* check that bone exist in the active object */
if (ob->type == OB_ARMATURE && ob->pose) {
- bPoseChannel *pchan= get_pose_channel(ob->pose, posechannel);
+ bPoseChannel *pchan= BKE_pose_channel_find_name(ob->pose, posechannel);
if (pchan) {
bConstraint *con= BLI_findstring(&pchan->constraints, constraint_name, offsetof(bConstraint, name));
if (con) {
@@ -4789,7 +4789,7 @@ void logic_buttons(bContext *C, ARegion *ar)
}
if (ob==NULL) return;
-// uiSetButLock(object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
+// uiSetButLock(BKE_object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
BLI_snprintf(numstr, sizeof(numstr), "buttonswin %p", (void *)ar);
block= uiBeginBlock(C, ar, numstr, UI_EMBOSS);
@@ -4833,7 +4833,7 @@ void logic_buttons(bContext *C, ARegion *ar)
ob= (Object *)idar[a];
// uiClearButLock();
-// uiSetButLock(object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
+// uiSetButLock(BKE_object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
if ( (ob->scavisflag & OB_VIS_CONT) == 0) continue;
/* presume it is only objects for now */
@@ -4970,7 +4970,7 @@ void logic_buttons(bContext *C, ARegion *ar)
for (a=0; a<count; a++) {
ob= (Object *)idar[a];
// uiClearButLock();
-// uiSetButLock(object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
+// uiSetButLock(BKE_object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
if ( (ob->scavisflag & OB_VIS_SENS) == 0) continue;
@@ -5051,7 +5051,7 @@ void logic_buttons(bContext *C, ARegion *ar)
for (a=0; a<count; a++) {
ob= (Object *)idar[a];
// uiClearButLock();
-// uiSetButLock(object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
+// uiSetButLock(BKE_object_is_libdata(ob), ERROR_LIBDATA_MESSAGE);
if ( (ob->scavisflag & OB_VIS_ACT) == 0) continue;
/* presume it is only objects for now */