Browse Source

ShapePath: Fixed import.

Mr.doob 7 years ago
parent
commit
415658eb46
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/extras/core/ShapePath.js

+ 2 - 1
src/extras/core/ShapePath.js

@@ -1,3 +1,4 @@
+import { Color } from '../../math/Color.js';
 import { Path } from './Path.js';
 import { Shape } from './Shape.js';
 import { ShapeUtils } from '../ShapeUtils.js';
@@ -11,7 +12,7 @@ function ShapePath() {
 
 	this.type = 'ShapePath';
 
-	this.color = new THREE.Color();
+	this.color = new Color();
 
 	this.subPaths = [];
 	this.currentPath = null;