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:
authorTon Roosendaal <ton@blender.org>2010-12-21 21:55:49 +0300
committerTon Roosendaal <ton@blender.org>2010-12-21 21:55:49 +0300
commitaeba7032e6fe3f70ede89b24cd9e6d098adb993b (patch)
tree4dcc22d408993c0e2933deeae8b50ac27f5d16da /source/blender/makesrna/intern/rna_screen.c
parentfae8dc5a735d6e47d96d5757fbc51a33b45a4cea (diff)
Bugfix #25330
3D Window: Snap to cursor or grid, didn't respect the 'restrict location' options for objects or bones.
Diffstat (limited to 'source/blender/makesrna/intern/rna_screen.c')
-rw-r--r--source/blender/makesrna/intern/rna_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_screen.c b/source/blender/makesrna/intern/rna_screen.c
index a8c96e93448..a9e43d35f32 100644
--- a/source/blender/makesrna/intern/rna_screen.c
+++ b/source/blender/makesrna/intern/rna_screen.c
@@ -83,7 +83,7 @@ static int rna_Screen_is_animation_playing_get(PointerRNA *ptr)
static int rna_Screen_fullscreen_get(PointerRNA *ptr)
{
bScreen *sc= (bScreen*)ptr->data;
- return (sc->full == SCREENFULL);
+ return (sc->full != 0);
}
static void rna_Area_type_set(PointerRNA *ptr, int value)