File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/core/src/utilities Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export default class VoxelManager<T> {
3737 public sourceVoxelManager : IVoxelManager < T > ;
3838 public isInObject : ( pointLPS , pointIJK ) => boolean ;
3939 public readonly dimensions : Point3 ;
40- public readonly numberOfComponents ;
40+ public readonly numberOfComponents : number ;
4141 public getCompleteScalarDataArray ?: ( ) => ArrayLike < number > ;
4242 public setCompleteScalarDataArray ?: ( scalarData : ArrayLike < number > ) => void ;
4343
@@ -100,7 +100,7 @@ export default class VoxelManager<T> {
100100 this . _set = options . _set ;
101101 this . _id = options . _id || '' ;
102102 this . _getConstructor = options . _getConstructor ;
103- this . numberOfComponents = this . numberOfComponents || 1 ;
103+ this . numberOfComponents = options . numberOfComponents || 1 ;
104104 this . scalarData = options . scalarData as PixelDataTypedArray ;
105105 this . _getScalarData = options . _getScalarData ;
106106 this . _updateScalarData = options . _updateScalarData ;
You can’t perform that action at this time.
0 commit comments