Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roque
erp5
Commits
46586276
Commit
46586276
authored
Sep 26, 2022
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[HACK] Babylon JS HACKs
parent
5058f849
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
erp5_drone_simulator/PathTemplateItem/web_page_module/drone_web_worker_babylon_js.js
...mplateItem/web_page_module/drone_web_worker_babylon_js.js
+5
-2
erp5_drone_simulator/PathTemplateItem/web_page_module/drone_web_worker_babylon_js.xml
...plateItem/web_page_module/drone_web_worker_babylon_js.xml
+2
-2
No files found.
erp5_drone_simulator/PathTemplateItem/web_page_module/drone_web_worker_babylon_js.js
View file @
46586276
...
...
@@ -17618,6 +17618,7 @@
var e = document;
document.exitFullscreen ? document.exitFullscreen() : e.mozCancelFullScreen ? e.mozCancelFullScreen() : e.webkitCancelFullScreen ? e.webkitCancelFullScreen() : e.msCancelFullScreen && e.msCancelFullScreen()
}, t.prototype.getFontOffset = function(e) {
return; //ROQUE HACK
var t = document.createElement("span");
t.innerHTML = "Hg", t.setAttribute("style", "font: ".concat(e, " !important"));
var i = document.createElement("div");
...
...
@@ -57227,7 +57228,8 @@
}
}
return e.prototype.displayLoadingUI = function() {
if (!this._loadingDiv) {
//if (!this._loadingDiv) {
if (false) { //ROQUE HACK
this._loadingDiv = document.createElement("div"), this._loadingDiv.id = "babylonjsLoadingDiv", this._loadingDiv.style.opacity = "0", this._loadingDiv.style.transition = "opacity 1.5s ease", this._loadingDiv.style.pointerEvents = "none", this._loadingDiv.style.display = "grid", this._loadingDiv.style.gridTemplateRows = "100%", this._loadingDiv.style.gridTemplateColumns = "100%", this._loadingDiv.style.justifyItems = "center", this._loadingDiv.style.alignItems = "center", this._loadingTextDiv = document.createElement("div"), this._loadingTextDiv.style.position = "absolute", this._loadingTextDiv.style.left = "0", this._loadingTextDiv.style.top = "50%", this._loadingTextDiv.style.marginTop = "80px", this._loadingTextDiv.style.width = "100%", this._loadingTextDiv.style.height = "20px", this._loadingTextDiv.style.fontFamily = "Arial", this._loadingTextDiv.style.fontSize = "14px", this._loadingTextDiv.style.color = "white", this._loadingTextDiv.style.textAlign = "center", this._loadingTextDiv.style.zIndex = "1", this._loadingTextDiv.innerHTML = "Loading", this._loadingDiv.appendChild(this._loadingTextDiv), this._loadingTextDiv.innerHTML = this._loadingText, this._style = document.createElement("style"), this._style.type = "text/css", this._style.innerHTML = "@-webkit-keyframes spin1 { 0% { -webkit-transform: rotate(0deg);}\n 100% { -webkit-transform: rotate(360deg);}\n } @keyframes spin1 { 0% { transform: rotate(0deg);}\n 100% { transform: rotate(360deg);}\n }", document.getElementsByTagName("head")[0].appendChild(this._style);
var t = !!window.SVGSVGElement,
i = new Image;
...
...
@@ -68944,7 +68946,8 @@
i = e.substring(t.lastIndexOf("/") + 1, e.length);
return e.substring(0, e.indexOf(i, 0))
}, e._ReturnFullUrlLocation = function(t) {
return -1 === t.indexOf("http:/") && -1 === t.indexOf("https:/") && "undefined" != typeof window ? e._ParseURL(window.location.href) + t : t
//return -1 === t.indexOf("http:/") && -1 === t.indexOf("https:/") && "undefined" != typeof window ? e._ParseURL(window.location.href) + t : t
return t //ROQUE HACK
}, e
}(),
yy = function() {
erp5_drone_simulator/PathTemplateItem/web_page_module/drone_web_worker_babylon_js.xml
View file @
46586276
...
...
@@ -244,7 +244,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
1003.14309.
20453.588
8
</string>
</value>
<value>
<string>
1003.14309.
47773.3194
8
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>
1664200
663.6
</float>
<float>
1664200
710.23
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment