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>2018-09-20 00:11:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-20 00:15:45 +0300
commit87b628db2ace4f4e2058a756d561080c1a926503 (patch)
treee28508bdb054d9a53879304a483e910d1d080d53
parent73ac72fa89a2a54d18b806cc4f28392c954ee13e (diff)
Cleanup: style
-rw-r--r--release/scripts/startup/bl_operators/wm.py4
-rw-r--r--source/blender/blenlib/BLI_expr_pylike_eval.h4
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_nodes.cc3
3 files changed, 5 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 18104468577..528e1a5f336 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -2555,7 +2555,7 @@ class WM_MT_splash(Menu):
split = layout.split(factor=0.25)
split.label()
- split = split.split(factor=2.0/3.0)
+ split = split.split(factor=2.0 / 3.0)
col = split.column()
@@ -2572,7 +2572,7 @@ class WM_MT_splash(Menu):
# We need to make switching to a language easier first
#sub = col.column(align=False)
- #sub.label(text="Language:")
+ # sub.label(text="Language:")
#userpref = context.user_preferences
#sub.prop(userpref.system, "language", text="")
diff --git a/source/blender/blenlib/BLI_expr_pylike_eval.h b/source/blender/blenlib/BLI_expr_pylike_eval.h
index e8311bc43b6..578e4776038 100644
--- a/source/blender/blenlib/BLI_expr_pylike_eval.h
+++ b/source/blender/blenlib/BLI_expr_pylike_eval.h
@@ -57,10 +57,10 @@ ExprPyLike_Parsed *BLI_expr_pylike_parse(
eExprPyLike_EvalStatus BLI_expr_pylike_eval(
struct ExprPyLike_Parsed *expr,
const double *param_values, int param_values_len,
- double *r_result);
+ double *r_result);
#ifdef __cplusplus
}
#endif
-#endif /* __BLI_EXPR_PYLIKE_EVALUATE_H__ */
+#endif /* __BLI_EXPR_PYLIKE_EVAL_H__ */
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
index 656708d9fb2..429bfbab4d6 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
@@ -555,8 +555,7 @@ void DepsgraphNodeBuilder::build_object(int base_index,
if (object == scene_->camera) {
id_node->is_directly_visible = true;
}
- else if (id_node->linked_state == DEG_ID_LINKED_DIRECTLY)
- {
+ else if (id_node->linked_state == DEG_ID_LINKED_DIRECTLY) {
id_node->is_directly_visible = is_visible;
}
else {