diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-07 08:36:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-07 08:36:37 +0400 |
commit | bb8fe0bf4afeaa5ae91329b8d8147b94cc54034a (patch) | |
tree | 8ce068ee16a8f61a6beeb08c0929f0fa9a8bde3b /source/blender/blenkernel/intern/brush.c | |
parent | 96d73bfdcfd74bfccd58bf02ae25b64577fce904 (diff) |
minor edits
- remove unneeded type check from convert grease pencil operator.
- correct some error prints & use __func__.
- make copy_libblock take an ID* argument rather than void*.
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index e78b89441c9..09021e71025 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -144,7 +144,7 @@ Brush *copy_brush(Brush *brush) { Brush *brushn; - brushn= copy_libblock(brush); + brushn= copy_libblock(&brush->id); if (brush->mtex.tex) id_us_plus((ID*)brush->mtex.tex); |