Browse Source

Fix texture page location resolver.

pull/152/head
Adam Johnson 5 years ago
parent
commit
db00f298ee
Signed by: Hoikas
GPG Key ID: 0B6515D6FF6F271E
  1. 2
      korman/exporter/manager.py

2
korman/exporter/manager.py

@ -253,7 +253,7 @@ class ExportManager:
def get_textures_page(self, key): def get_textures_page(self, key):
"""Gets the appropriate page for a texture for a given plLayer""" """Gets the appropriate page for a texture for a given plLayer"""
# The point of this is to account for per-page textures... # The point of this is to account for per-page textures...
if "Textures" in self._pages: if bpy.context.scene.world.plasma_age.use_texture_page:
return self._pages["Textures"] return self._pages["Textures"]
else: else:
return key.location return key.location

Loading…
Cancel
Save