small issues
This commit is contained in:
parent
9db102fb5f
commit
f09e586dd4
|
@ -39,7 +39,6 @@ class GamepadNode(Node, ArmLogicTreeNode):
|
||||||
name='', default='cross')
|
name='', default='cross')
|
||||||
|
|
||||||
def init(self, context):
|
def init(self, context):
|
||||||
self.outputs.new('ArmNodeSocketAction', 'Out')
|
|
||||||
self.outputs.new('NodeSocketBool', 'State')
|
self.outputs.new('NodeSocketBool', 'State')
|
||||||
self.inputs.new('NodeSocketInt', 'Gamepad')
|
self.inputs.new('NodeSocketInt', 'Gamepad')
|
||||||
|
|
||||||
|
|
|
@ -299,9 +299,9 @@ def init_properties_on_load():
|
||||||
init_properties()
|
init_properties()
|
||||||
arm.utils.fetch_script_names()
|
arm.utils.fetch_script_names()
|
||||||
wrd = bpy.data.worlds['Arm']
|
wrd = bpy.data.worlds['Arm']
|
||||||
|
arm.nodes_logic.replaceAll()
|
||||||
# Outdated project
|
# Outdated project
|
||||||
if bpy.data.filepath != '' and (wrd.arm_version != arm_version or wrd.arm_commit != arm_commit): # Call on project load only
|
if bpy.data.filepath != '' and (wrd.arm_version != arm_version or wrd.arm_commit != arm_commit): # Call on project load only
|
||||||
arm.nodes_logic.replaceAll()
|
|
||||||
# This allows for seamless migration from ealier versions of Armory
|
# This allows for seamless migration from ealier versions of Armory
|
||||||
for rp in wrd.arm_rplist: # TODO: deprecated
|
for rp in wrd.arm_rplist: # TODO: deprecated
|
||||||
if rp.rp_gi != 'Off':
|
if rp.rp_gi != 'Off':
|
||||||
|
|
Loading…
Reference in a new issue