Browse Source

Fix some camera bugs due to code shuffling

pull/105/head
Adam Johnson 6 years ago
parent
commit
02eb0e71fc
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/exporter/camera.py
  2. 1
      korman/properties/modifiers/region.py

2
korman/exporter/camera.py

@ -150,7 +150,7 @@ class CameraConverter:
self._convert_brain(so, bo, props, brain)
# Follow camera specific stuff ahoy!
brain.offset = hsVector3(*camera_props.pos_offset)
brain.offset = hsVector3(*props.pos_offset)
return brain
def _export_rail_camera(self, so, bo, props):

1
korman/properties/modifiers/region.py

@ -93,6 +93,7 @@ class PlasmaCameraRegion(PlasmaModifierProperties):
camera_props = self.auto_camera
camera_type = self.camera_type[5:]
exporter.camera.export_camera(so, bo, camera_type, camera_props)
camera_so_key = so.key
# Setup physical stuff
phys_mod = bo.plasma_modifiers.collision

Loading…
Cancel
Save