예제 #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')
예제 #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')
예제 #3
0
파일: __init__.py 프로젝트: sujoyp/ogre
def onBlendLoadHandler(dummy):
    loadStaticConfig()
예제 #4
0
파일: __init__.py 프로젝트: whztt07/ogre-1
def onBlendLoadHandler(dummy):
    loadStaticConfig()
예제 #5
0
	def invoke(self, context, event):
		MainExporterPanel.sViewState = MainExporterPanel.VS_MAIN
		loadStaticConfig()
		return {'FINISHED'}
예제 #6
0
	def invoke(self, context, event):
		bpy.types.ogre3d_exporter_panel.mPreference_view = False
		loadStaticConfig()
		return('FINISHED')