aboutsummaryrefslogtreecommitdiff
path: root/js/document/html-document.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/document/html-document.js')
-rwxr-xr-xjs/document/html-document.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js
index bb54874c..8b765501 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -291,7 +291,7 @@ exports.HTMLDocument = Montage.create(TextDocument, {
291 shapeModel.GLGeomObj = root; 291 shapeModel.GLGeomObj = root;
292 shapeModel.strokeSize = root._strokeWidth; 292 shapeModel.strokeSize = root._strokeWidth;
293 shapeModel.stroke = root._strokeColor.slice(); 293 shapeModel.stroke = root._strokeColor.slice();
294 shapeModel.strokeMaterial = root._strokeMaterial.dup(); 294 shapeModel.strokeMaterial = root._strikeMaterial ? root._strokeMaterial.dup() : null;
295 shapeModel.strokeStyle = "solid"; 295 shapeModel.strokeStyle = "solid";
296 //shapeModel.strokeStyleIndex 296 //shapeModel.strokeStyleIndex
297 //shapeModel.border 297 //shapeModel.border
@@ -302,7 +302,7 @@ exports.HTMLDocument = Montage.create(TextDocument, {
302 elementModel.selection = "Rectangle"; 302 elementModel.selection = "Rectangle";
303 elementModel.pi = "RectanglePi"; 303 elementModel.pi = "RectanglePi";
304 shapeModel.fill = root._fillColor.slice(); 304 shapeModel.fill = root._fillColor.slice();
305 shapeModel.fillMaterial = root._fillMaterial.dup(); 305 shapeModel.fillMaterial = root._fillMaterial ? root._fillMaterial.dup() : null;
306 shapeModel.tlRadius = root._tlRadius; 306 shapeModel.tlRadius = root._tlRadius;
307 shapeModel.trRadius = root._trRadius; 307 shapeModel.trRadius = root._trRadius;
308 shapeModel.blRadius = root._blRadius; 308 shapeModel.blRadius = root._blRadius;
@@ -313,7 +313,7 @@ exports.HTMLDocument = Montage.create(TextDocument, {
313 elementModel.selection = "Oval"; 313 elementModel.selection = "Oval";
314 elementModel.pi = "OvalPi"; 314 elementModel.pi = "OvalPi";
315 shapeModel.fill = root._fillColor.slice(); 315 shapeModel.fill = root._fillColor.slice();
316 shapeModel.fillMaterial = root._fillMaterial.dup(); 316 shapeModel.fillMaterial = root._fillMaterial ? root._fillMaterial.dup() : null;
317 shapeModel.innerRadius = root._innerRadius; 317 shapeModel.innerRadius = root._innerRadius;
318 break; 318 break;
319 319