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/screen/screen_ops.c')
-rw-r--r--source/blender/editors/screen/screen_ops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index 1129bd7b1b9..d2e4366b34e 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -243,7 +243,7 @@ bool ED_operator_action_active(bContext *C)
bool ED_operator_buttons_active(bContext *C)
{
- return ed_spacetype_test(C, SPACE_BUTS);
+ return ed_spacetype_test(C, SPACE_PROPERTIES);
}
bool ED_operator_node_active(bContext *C)
@@ -3873,7 +3873,7 @@ static int match_region_with_redraws(int spacetype, int regiontype, int redraws,
if ((redraws & (TIME_ALL_ANIM_WIN | TIME_REGION | TIME_ALL_3D_WIN)) || from_anim_edit)
return 1;
break;
- case SPACE_BUTS:
+ case SPACE_PROPERTIES:
if (redraws & TIME_ALL_BUTS_WIN)
return 1;
break;
@@ -4777,7 +4777,7 @@ static bool space_context_cycle_poll(bContext *C)
{
ScrArea *sa = CTX_wm_area(C);
/* sa might be NULL if called out of window bounds */
- return (sa && ELEM(sa->spacetype, SPACE_BUTS, SPACE_USERPREF));
+ return (sa && ELEM(sa->spacetype, SPACE_PROPERTIES, SPACE_USERPREF));
}
/**
@@ -4791,7 +4791,7 @@ static void context_cycle_prop_get(
const char *propname;
switch (sa->spacetype) {
- case SPACE_BUTS:
+ case SPACE_PROPERTIES:
RNA_pointer_create(&screen->id, &RNA_SpaceProperties, sa->spacedata.first, r_ptr);
propname = "context";
break;