From f90611d4b691424d776c5e4bf3f8f2e51a5f99b2 Mon Sep 17 00:00:00 2001
From: Elohiem <20236-Elohiem@users.noreply.gitgud.io>
Date: Thu, 27 Oct 2022 02:24:16 +0200
Subject: [PATCH] Add comment

---
 src/art/artJS.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/art/artJS.js b/src/art/artJS.js
index 2a8dab1c1b9..72e89ce769d 100644
--- a/src/art/artJS.js
+++ b/src/art/artJS.js
@@ -283,7 +283,7 @@ App.Art.webglArtElement = function(inSlave, artSize) {
 	// it's common for e.g. events to make alterations to a slave just before rendering and revert them afterwards
 	const slave = clone(inSlave);
 	container.addEventListener("engineLoaded", function() {
-		 new IntersectionObserver(function(entries) {
+		 new IntersectionObserver(function(entries) { // when visible in viewport
 			if (entries.some(e => e.isIntersecting)) {
 				this.unobserve(container); // render only once
 
@@ -297,7 +297,7 @@ App.Art.webglArtElement = function(inSlave, artSize) {
 				App.Art.applyMaterials(slave, scene, p);
 				App.Art.applyMorphs(slave, scene, p, false);
 
-				// console.log(scene);
+				console.log(scene);
 
 				// create UI and render based on active view
 				container.innerText = "";
-- 
GitLab