[Bf-blender-cvs] [c3bc53162a9] master: Cleanup: format
Campbell Barton
noreply at git.blender.org
Tue Jul 26 05:24:37 CEST 2022
Commit: c3bc53162a9daed39ddf8597a678c923db36fb8f
Author: Campbell Barton
Date: Tue Jul 26 13:23:45 2022 +1000
Branches: master
https://developer.blender.org/rBc3bc53162a9daed39ddf8597a678c923db36fb8f
Cleanup: format
===================================================================
M release/scripts/startup/bl_ui/properties_render.py
M source/blender/blenkernel/intern/curve_legacy_convert.cc
===================================================================
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];
More information about the Bf-blender-cvs
mailing list