diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-04-05 15:45:33 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-04-05 15:45:33 +0400 |
commit | 81621eb69638b6b0edbf4f389702e29fda4be1be (patch) | |
tree | 15eced09101fb7e8559d9c13d14e7a3b7e17be26 /source/blender/makesdna/DNA_brush_types.h | |
parent | b31ca013579ac6c3b869782ed587c8e594e0461b (diff) |
Patch from kgeogeo:
* Change coordinates of stencil to float, helps with precision during
property manuipulations
* Expose stencil properties to RNA.
Diffstat (limited to 'source/blender/makesdna/DNA_brush_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_brush_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_brush_types.h b/source/blender/makesdna/DNA_brush_types.h index 11dd68bb11b..97ff24d3366 100644 --- a/source/blender/makesdna/DNA_brush_types.h +++ b/source/blender/makesdna/DNA_brush_types.h @@ -106,8 +106,8 @@ typedef struct Brush { float add_col[3]; float sub_col[3]; - int stencil_pos[2]; - int stencil_dimension[2]; + float stencil_pos[2]; + float stencil_dimension[2]; } Brush; /* Brush.flag */ |