diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-02-19 04:33:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-02-19 04:33:14 +0300 |
commit | 57218638052c72d1e25f3201c8356d11bd690834 (patch) | |
tree | 699ab201c859bcd28f9769e05f46e1b5da6754fb /source/blender/editors/space_clip | |
parent | eee79641c362c974c40cbd289cf14685c6b86f92 (diff) |
RNA: pass only 0/1 to RNA_property_boolean_set
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r-- | source/blender/editors/space_clip/clip_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c index b99b23c60d3..322825ccc84 100644 --- a/source/blender/editors/space_clip/clip_ops.c +++ b/source/blender/editors/space_clip/clip_ops.c @@ -274,7 +274,7 @@ static int open_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event) return open_exec(C, op); if (!RNA_struct_property_is_set(op->ptr, "relative_path")) - RNA_boolean_set(op->ptr, "relative_path", U.flag & USER_RELPATHS); + RNA_boolean_set(op->ptr, "relative_path", (U.flag & USER_RELPATHS) != 0); open_init(C, op); |