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 <campbell@blender.org>2022-07-26 06:23:45 +0300
committerCampbell Barton <campbell@blender.org>2022-07-26 06:23:45 +0300
commitc3bc53162a9daed39ddf8597a678c923db36fb8f (patch)
tree59a254608d614e4b7cc00a83d188b348509496bf
parentf1f89ca751d2782fee5d1cb982881409d478c6eb (diff)
Cleanup: format
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py9
-rw-r--r--source/blender/blenkernel/intern/curve_legacy_convert.cc2
2 files changed, 9 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 3365a68b9b2..e031b32247a 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -725,7 +725,14 @@ class RENDER_PT_simplify_render(RenderButtonsPanel, Panel):
class RENDER_PT_simplify_greasepencil(RenderButtonsPanel, Panel, GreasePencilSimplifyPanel):
bl_label = "Grease Pencil"
bl_parent_id = "RENDER_PT_simplify"
- COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME', 'BLENDER_CLAY', 'BLENDER_EEVEE', 'BLENDER_EEVEE_NEXT', 'BLENDER_WORKBENCH'}
+ COMPAT_ENGINES = {
+ 'BLENDER_RENDER',
+ 'BLENDER_GAME',
+ 'BLENDER_CLAY',
+ 'BLENDER_EEVEE',
+ 'BLENDER_EEVEE_NEXT',
+ 'BLENDER_WORKBENCH',
+ }
bl_options = {'DEFAULT_CLOSED'}
diff --git a/source/blender/blenkernel/intern/curve_legacy_convert.cc b/source/blender/blenkernel/intern/curve_legacy_convert.cc
index 5c62f292832..938dcbd6269 100644
--- a/source/blender/blenkernel/intern/curve_legacy_convert.cc
+++ b/source/blender/blenkernel/intern/curve_legacy_convert.cc
@@ -169,7 +169,7 @@ Curves *curve_legacy_to_curves(const Curve &curve_legacy, const ListBase &nurbs_
MutableSpan<float> nurbs_weights = curves.nurbs_weights_for_write();
MutableSpan<int8_t> nurbs_orders = curves.nurbs_orders_for_write();
MutableSpan<int8_t> nurbs_knots_modes = curves.nurbs_knots_modes_for_write();
-
+
threading::parallel_for(selection.index_range(), 256, [&](IndexRange range) {
for (const int curve_i : selection.slice(range)) {
const Nurb &src_curve = *src_curves[curve_i];