cleanup: minor edits

This commit is contained in:
Campbell Barton
2015-01-14 23:53:03 +11:00
parent edad3f93f6
commit ca0605b3ae
3 changed files with 5 additions and 5 deletions

View File

@@ -29,8 +29,8 @@
* \ingroup bke
*/
#ifndef __BKE_OBJECT_DATA_TRANSFER_H__
#define __BKE_OBJECT_DATA_TRANSFER_H__
#ifndef __BKE_DATA_TRANSFER_H__
#define __BKE_DATA_TRANSFER_H__
#ifdef __cplusplus
extern "C" {
@@ -155,4 +155,4 @@ bool BKE_object_data_transfer_dm(
}
#endif
#endif /* __BKE_OBJECT_DATA_TRANSFER_H__ */
#endif /* __BKE_DATA_TRANSFER_H__ */

View File

@@ -3521,7 +3521,7 @@ int BKE_object_is_modified(Scene *scene, Object *ob)
* objects moves (causing deformation motion blur) or not.
*
* This makes it possible to give some degree of false-positives here,
* but it's currently an acceptable tradeof between complexity and check
* but it's currently an acceptable tradeoff between complexity and check
* speed. In combination with checks of modifier stack and real life usage
* percentage of false-positives shouldn't be that hight.
*/

View File

@@ -4766,7 +4766,7 @@ static int previews_ensure_exec(bContext *C, wmOperator *UNUSED(op))
/* This will loop over all IDs linked by current one, render icons for them if needed,
* and add them to 'todo' preview_id_stack. */
BKE_library_foreach_ID_link(id, previews_id_ensure_callback, &preview_id_stack, IDWALK_READONLY);
} while((id = BLI_LINKSTACK_POP(preview_id_stack.id_stack)));
} while ((id = BLI_LINKSTACK_POP(preview_id_stack.id_stack)));
}
BLI_LINKSTACK_FREE(preview_id_stack.id_stack);