This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
return { | |
preload: function(entityID) { | |
print("Preload 2: ", entityID); | |
this.entityID = entityID; | |
Script.update.connect(this, this.update); | |
}, | |
unload: function() { | |
print("Unload 2: ", this.entityID); | |
Script.update.disconnect(this, this.update); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
return { | |
preload: function(entityID) { | |
print("Preload 1: ", entityID); | |
this.entityID = entityID; | |
}, | |
unload: function() { | |
print("Unload 1: ", this.entityID); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// cylinderBlock.js | |
// | |
// Created by David Rowe on 25 Oct 2016. | |
// Copyright 2015 High Fidelity, Inc. | |
// | |
// This script displays a progress download indicator when downloads are in progress. | |
// | |
// Distributed under the Apache License, Version 2.0. | |
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Agent.isAvatar = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// reset.js | |
// | |
// Created by James B. Pollack @imgntn on 3/14/2016 | |
// Copyright 2016 High Fidelity, Inc. | |
// | |
// This cleanups up and creates content for the home. | |
// To begin, it finds any entity with the home reset key in its user data and deletes it. | |
// Next, it creates 'scripted entities', or objects that have scripts attached to them. | |
// Then it creates 'kinetic entities', or objects that need to be reset but have no scripts attached. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Robin Grow | |
// @namespace http://tampermonkey.net/ | |
// @version 1.31 | |
// @description Try to take over the world! | |
// @author /u/mvartan | |
// @include https://www.reddit.com/robin* | |
// @updateURL https://github.com/vartan/robin-grow/raw/master/robin.user.js | |
// @grant GM_getValue | |
// @grant GM_setValue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// baseball.js | |
// examples/toys | |
// | |
// Created by Stephen Birarda on 10/20/15. | |
// Copyright 2015 High Fidelity, Inc. | |
// | |
// Distributed under the Apache License, Version 2.0. | |
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// loadTestServers.js | |
// examples/utilities/diagnostics | |
// | |
// Created by Stephen Birarda on 05/08/15. | |
// Copyright 2015 High Fidelity, Inc. | |
// | |
// Distributed under the Apache License, Version 2.0. | |
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/qtwebkit/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp b/qtwebkit/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp | |
index d4ace36..e949304 100644 | |
--- a/qtwebkit/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp | |
+++ b/qtwebkit/Source/WebCore/platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp | |
@@ -442,7 +442,16 @@ void GraphicsContext3D::compileShader(Platform3DObject shader) | |
ASSERT(shader); | |
makeContextCurrent(); | |
- String translatedShaderSource = m_extensions->getTranslatedShaderSourceANGLE(shader); | |
+ String translatedShaderSource; |