Merge pull request #2245 from QuantumCoderQC/NavMeshNodeFix
A few small fixes to UniformsManager calss and go to location node
This commit is contained in:
commit
738a217001
|
@ -47,24 +47,17 @@ class UniformsManager extends Trait{
|
|||
if(exists) {
|
||||
unifromExists = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if(! unifromExists) {
|
||||
|
||||
this.remove();
|
||||
}
|
||||
}
|
||||
|
||||
static function removeScene(){
|
||||
static function removeScene() {
|
||||
|
||||
removeObjectFromAllMaps(Scene.active.root);
|
||||
}
|
||||
|
||||
function removeObject() {
|
||||
|
||||
removeObjectFromAllMaps(object);
|
||||
|
||||
removeObjectFromAllMaps(object);
|
||||
}
|
||||
|
||||
// Helper method to register float, vec3 and texture getter functions
|
||||
|
@ -310,7 +303,6 @@ class UniformsManager extends Trait{
|
|||
|
||||
case Texture: texturesMap.remove(object);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ class GoToLocationNode(ArmLogicTreeNode):
|
|||
super(GoToLocationNode, self).init(context)
|
||||
self.add_input('ArmNodeSocketAction', 'In')
|
||||
self.add_input('ArmNodeSocketObject', 'Object')
|
||||
self.add_input('NodeSocketShader', 'Location')
|
||||
self.add_input('NodeSocketVector', 'Location')
|
||||
|
||||
self.add_output('ArmNodeSocketAction', 'Out')
|
||||
|
||||
|
|
Loading…
Reference in a new issue