diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-05 23:56:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-05 23:56:49 +0400 |
commit | f6b37f34ec2593b12b67046cf032acc202e2fa54 (patch) | |
tree | 7527f1fb6382d593bb808edccfd4d17eeb4119d5 /source/blender/editors | |
parent | 5036d6b1dd0070c7e14992990c6d88c9099352b4 (diff) |
code cleanup:
- add missing headers from cmake (own omission)
- quiet rna_test.c unused define warnings.
- minor style edits
- spelling corrections and ignore all uppercase words with spell checking script.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/render/render_internal.c | 3 | ||||
-rw-r--r-- | source/blender/editors/space_graph/graph_edit.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/editors/render/render_internal.c b/source/blender/editors/render/render_internal.c index 188e2b5624b..0d6e6fb5ac1 100644 --- a/source/blender/editors/render/render_internal.c +++ b/source/blender/editors/render/render_internal.c @@ -503,7 +503,8 @@ static void render_endjob(void *rjv) * - sergey - */ if (rj->scene->r.layers.first != rj->scene->r.layers.last || - rj->image_outdated) { + rj->image_outdated) + { void *lock; Image *ima = rj->image; ImBuf *ibuf = BKE_image_acquire_ibuf(ima, &rj->iuser, &lock); diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c index 7a36cd98c2c..5546682e470 100644 --- a/source/blender/editors/space_graph/graph_edit.c +++ b/source/blender/editors/space_graph/graph_edit.c @@ -882,9 +882,9 @@ static void delete_graph_keys(bAnimContext *ac) delete_fcurve_keys(fcu); /* Only delete curve too if it won't be doing anything anymore */ - if ((fcu->totvert == 0) && - (list_has_suitable_fmodifier(&fcu->modifiers, 0, FMI_TYPE_GENERATE_CURVE) == 0) && - (fcu->driver == NULL)) + if ((fcu->totvert == 0) && + (list_has_suitable_fmodifier(&fcu->modifiers, 0, FMI_TYPE_GENERATE_CURVE) == 0) && + (fcu->driver == NULL)) { ANIM_fcurve_delete_from_animdata(ac, adt, fcu); } |