Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-23 02:03:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-23 02:03:41 +0400
commitdab1d8e4874564f182d7b73b603f66a4f34565ad (patch)
treee79733e7f9091b5a5840af54062f8e7bcb770f8b /source/blender/python/intern
parentd2a37d464a81959eb3409115f320c83af4398934 (diff)
style cleanup
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r--source/blender/python/intern/bpy_interface.c2
-rw-r--r--source/blender/python/intern/bpy_rna.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c
index 9fa02046e49..1d3099db189 100644
--- a/source/blender/python/intern/bpy_interface.c
+++ b/source/blender/python/intern/bpy_interface.c
@@ -178,7 +178,7 @@ void BPY_modules_update(bContext *C)
/* refreshes the main struct */
BPY_update_rna_module();
- if(bpy_context_module)
+ if (bpy_context_module)
bpy_context_module->ptr.data = (void *)C;
}
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index e25fac9b310..fe18fd040eb 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -6347,7 +6347,7 @@ PyObject *BPY_rna_module(void)
void BPY_update_rna_module(void)
{
- if(rna_module_ptr) {
+ if (rna_module_ptr) {
#if 0
RNA_main_pointer_create(G.main, rna_module_ptr);
#else