Fixed global missing LGraphTexture

This commit is contained in:
Kristofer
2017-12-03 16:22:44 +01:00
parent 5921b8e9d0
commit c595104781
4 changed files with 120 additions and 82 deletions

View File

@@ -1,7 +1,8 @@
//Works with Litegl.js to create WebGL nodes
var LGraphTexture
if(typeof(LiteGraph) != "undefined")
{
function LGraphTexture()
LGraphTexture = function()
{
this.addOutput("Texture","Texture");
this.properties = { name:"", filter: true };