class TextureExporter:
def __init__(self):
- self.pixels = 'REF'
+ self.inline_data = True
def export_texture(self, texture):
from .datafile import Resource, Statement, Token
else:
tex_res.statements.append(Statement("min_filter", Token('NEAREST')))
- if self.pixels=='REF':
+ if not self.inline_data:
from .util import image_name
tex_res.statements.append(Statement("image_data", image_name(texture.image)))
else: