Cleanup: format
This commit is contained in:
parent
f1f89ca751
commit
c3bc53162a
|
@ -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'}
|
||||
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue