Esempio n. 1
0
	def invoke(self, context, event):
		panel = bpy.types.ogre3d_exporter_panel
		panel.mPreference_view = True
		if (panel.mFirstLoad):
			loadStaticConfig()
			panel.mFirstLoad = False
		return('FINISHED')
Esempio n. 2
0
	def invoke(self, context, event):
		# make sure the global data is loaded first if it hasn't already.
		panel = bpy.types.ogre3d_exporter_panel
		if (panel.mFirstLoad):
			loadStaticConfig()
			panel.mFirstLoad = False

		return('FINISHED')
Esempio n. 3
0
def onBlendLoadHandler(dummy):
    loadStaticConfig()
Esempio n. 4
0
def onBlendLoadHandler(dummy):
    loadStaticConfig()
Esempio n. 5
0
	def invoke(self, context, event):
		MainExporterPanel.sViewState = MainExporterPanel.VS_MAIN
		loadStaticConfig()
		return {'FINISHED'}
Esempio n. 6
0
	def invoke(self, context, event):
		bpy.types.ogre3d_exporter_panel.mPreference_view = False
		loadStaticConfig()
		return('FINISHED')