diff options
Diffstat (limited to 'js/lib/geom/geom-obj.js')
-rwxr-xr-x | js/lib/geom/geom-obj.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/lib/geom/geom-obj.js b/js/lib/geom/geom-obj.js index a87bdbf5..11b9303a 100755 --- a/js/lib/geom/geom-obj.js +++ b/js/lib/geom/geom-obj.js | |||
@@ -220,6 +220,8 @@ var GeomObj = function GLGeomObj() { | |||
220 | this.setStrokeColor(this._strokeColor); | 220 | this.setStrokeColor(this._strokeColor); |
221 | } | 221 | } |
222 | 222 | ||
223 | this._strokeMaterial = strokeMaterial; | ||
224 | |||
223 | return strokeMaterial; | 225 | return strokeMaterial; |
224 | }; | 226 | }; |
225 | 227 | ||
@@ -242,6 +244,8 @@ var GeomObj = function GLGeomObj() { | |||
242 | this.setFillColor(this._fillColor); | 244 | this.setFillColor(this._fillColor); |
243 | } | 245 | } |
244 | 246 | ||
247 | this._fillMaterial = fillMaterial; | ||
248 | |||
245 | return fillMaterial; | 249 | return fillMaterial; |
246 | }; | 250 | }; |
247 | 251 | ||