Skip to content

Commit

Permalink
fix(bundleSize): Reduce the number of preset loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Apr 9, 2021
1 parent 51cbe29 commit a447ec4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/GeometryRepresentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ViewContext, RepresentationContext, DownstreamContext } from './View';

import vtkActor from '@kitware/vtk.js/Rendering/Core/Actor.js';
import vtkMapper from '@kitware/vtk.js/Rendering/Core/Mapper.js';
import vtkColorMaps from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction/ColorMaps.js';
import vtkColorMaps from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction/ColorMapsLite.js';
import vtkColorTransferFunction from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction.js';

import vtkCubeAxesActor from '@kitware/vtk.js/Rendering/Core/CubeAxesActor.js';
Expand Down
2 changes: 1 addition & 1 deletion src/core/GlyphRepresentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ViewContext, RepresentationContext, DownstreamContext } from './View';

import vtkActor from '@kitware/vtk.js/Rendering/Core/Actor.js';
import vtkGlyph3DMapper from '@kitware/vtk.js/Rendering/Core/Glyph3DMapper.js';
import vtkColorMaps from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction/ColorMaps.js';
import vtkColorMaps from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction/ColorMapsLite.js';
import vtkColorTransferFunction from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction.js';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/core/SliceRepresentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ViewContext, RepresentationContext, DownstreamContext } from './View';

import vtkImageSlice from '@kitware/vtk.js/Rendering/Core/ImageSlice.js';
import vtkImageMapper from '@kitware/vtk.js/Rendering/Core/ImageMapper.js';
import vtkColorMaps from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction/ColorMaps.js';
import vtkColorMaps from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction/ColorMapsLite.js';
import vtkColorTransferFunction from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction.js';
import vtkPiecewiseFunction from '@kitware/vtk.js/Common/DataModel/PiecewiseFunction.js';

Expand Down
2 changes: 1 addition & 1 deletion src/core/VolumeRepresentation.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ViewContext, RepresentationContext, DownstreamContext } from './View';

import vtkVolume from '@kitware/vtk.js/Rendering/Core/Volume.js';
import vtkVolumeMapper from '@kitware/vtk.js/Rendering/Core/VolumeMapper.js';
import vtkColorMaps from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction/ColorMaps.js';
import vtkColorMaps from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction/ColorMapsLite.js';
import vtkColorTransferFunction from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction.js';
import vtkPiecewiseFunction from '@kitware/vtk.js/Common/DataModel/PiecewiseFunction.js';

Expand Down

0 comments on commit a447ec4

Please sign in to comment.