Merge branch 'develop'
This commit is contained in:
@@ -22,20 +22,20 @@
|
||||
_dimX : X,
|
||||
_dimY: Y,
|
||||
_fileName: "Cubo.3mf",
|
||||
_showInfiniteGrid: false
|
||||
_showLimitedGrid: true
|
||||
}
|
||||
|
||||
WGL.initcall(options);
|
||||
|
||||
document.getElementById("refre_slider").oninput = function() {
|
||||
myFunction()
|
||||
};
|
||||
//document.getElementById("refre_slider").oninput = function() {
|
||||
// myFunction()
|
||||
//};
|
||||
|
||||
function myFunction() {
|
||||
var val = document.getElementById("refre_slider").value //gets the oninput value
|
||||
console.log(val)
|
||||
WGL.refreshcall(1, val)
|
||||
}
|
||||
//function myFunction() {
|
||||
// var val = document.getElementById("refre_slider").value //gets the oninput value
|
||||
// console.log(val)
|
||||
// WGL.refreshcall(1, val)
|
||||
//}
|
||||
|
||||
document.getElementById('btnRef').onclick = function() {
|
||||
|
||||
|
||||
+4
-4
@@ -10,7 +10,7 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"vue": "^2.5.11",
|
||||
"webgl-visualizer": "^1.2.230927-beta.1131"
|
||||
"webgl-visualizer": "^1.2.231004-beta.841"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "^6.26.0",
|
||||
@@ -9296,9 +9296,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/webgl-visualizer": {
|
||||
"version": "1.2.230927-beta.1131",
|
||||
"resolved": "https://nexus.steamware.net/repository/npm-group/webgl-visualizer/-/webgl-visualizer-1.2.230927-beta.1131.tgz",
|
||||
"integrity": "sha512-CiP11BgP3clKpMF4uKo3Zx2UxkDhIKpX216FA85+5bA4pRjtlzTib9oHm/RbQ2XYFovKhWDeWYmLXwYy4aGqKw==",
|
||||
"version": "1.2.231004-beta.841",
|
||||
"resolved": "https://nexus.steamware.net/repository/npm-group/webgl-visualizer/-/webgl-visualizer-1.2.231004-beta.841.tgz",
|
||||
"integrity": "sha512-NuhXMyLzysrLIn+OCRNgtYg4vyOTQOrsXrL5XXKLqxz5tvSqORY7CED6+B6/q6urtR+Fowsie+LKWBnG3j7ceA==",
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/webpack": {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^2.5.11",
|
||||
"webgl-visualizer": "^1.2.230927-beta.1131"
|
||||
"webgl-visualizer": "^1.2.231004-beta.841"
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
|
||||
@@ -26,11 +26,11 @@ var layer_list = [];
|
||||
const GLBox3D = new THREE.Box3(); // Box3D globale delle geometrie
|
||||
//init();
|
||||
class webgl_original {
|
||||
async initcall({ _dimX, _dimY, _fileName, _showInfiniteGrid}) {
|
||||
async initcall({ _dimX, _dimY, _fileName, _showLimitedGrid}) {
|
||||
m_divStartDimX = _dimX;
|
||||
m_divStartDimY = _dimY;
|
||||
fName = _fileName;
|
||||
m_bGrid_v1 = _showInfiniteGrid;
|
||||
m_bGrid_v1 = _showLimitedGrid;
|
||||
//console.log(fName)
|
||||
//setLoaders();
|
||||
await init();
|
||||
@@ -96,11 +96,11 @@ function setLoaders() {
|
||||
|
||||
//if (useInSlider) {
|
||||
|
||||
mother.appendChild(sliderInput);
|
||||
sliderInput.setAttribute('id', 'refre_slider');
|
||||
sliderInput.setAttribute('hidden', true);
|
||||
sliderInput.type = 'range';
|
||||
sliderInput.min = '0';
|
||||
//mother.appendChild(sliderInput);
|
||||
//sliderInput.setAttribute('id', 'refre_slider');
|
||||
//sliderInput.setAttribute('hidden', true);
|
||||
//sliderInput.type = 'range';
|
||||
//sliderInput.min = '0';
|
||||
//}
|
||||
mother.appendChild(spinContainer);
|
||||
//document.body.appendChild(spinContainer);
|
||||
|
||||
Reference in New Issue
Block a user