Browse Source

Create Host meta object, misc changes

tags/1.9.5
falkTX 11 years ago
parent
commit
31b4954b4d
3 changed files with 848 additions and 208 deletions
  1. +843
    -198
      source/carla_backend.py
  2. +5
    -5
      source/carla_host.py
  3. +0
    -5
      source/carla_shared.py

+ 843
- 198
source/carla_backend.py
File diff suppressed because it is too large
View File


+ 5
- 5
source/carla_host.py View File

@@ -1460,11 +1460,11 @@ def initHost(initName, libPrefix = None, failError = True):
# Init host

if gCarla.host is None:
try:
gCarla.host = Host(os.path.join(gCarla.pathBinaries, libname))
except:
print("hmmmm...")
return
#try:
gCarla.host = CarlaHostDLL(os.path.join(gCarla.pathBinaries, libname))
#except:
#print("hmmmm...")
#return

gCarla.host.set_engine_callback(engineCallback)
gCarla.host.set_file_callback(fileCallback)


+ 0
- 5
source/carla_shared.py View File

@@ -37,11 +37,6 @@ else:
from PyQt4.QtCore import pyqtWrapperType, qFatal, qVersion, qWarning, QDir
from PyQt4.QtGui import QFileDialog, QIcon, QMessageBox

# ------------------------------------------------------------------------------------------------------------
# Import ABC

from abc import ABCMeta, abstractmethod

# ------------------------------------------------------------------------------------------------------------
# Import Signal



Loading…
Cancel
Save