Skip to content

Commit 21bc297

Browse files
committed
Same fix in v7
1 parent 06135f8 commit 21bc297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/JSRootPainter.v7.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3420,7 +3420,7 @@
34203420
//rrr.setSize(sz.width, sz.height);
34213421
//rrr.render(main.scene, main.camera);
34223422

3423-
main.insert("g",".primitives_layer") // create special group
3423+
elem.insert("g",".primitives_layer") // create special group
34243424
.attr("class","temp_saveaspng")
34253425
.attr("transform", "translate(" + sz.x + "," + sz.y + ")")
34263426
.node().appendChild(svg3d); // add code

0 commit comments

Comments
 (0)