indent with spaces

pull/3/head
Mathias Panzenböck 2016-06-19 03:52:53 +02:00
rodzic e7df8d6ebb
commit bc22c501c0
2 zmienionych plików z 9 dodań i 9 usunięć

Wyświetl plik

@ -11,11 +11,11 @@ bl_info = {
}
if "bpy" in locals():
# reload logic (magic)
# reload logic (magic)
import importlib
importlib.reload(spaceship_generator)
else:
from add_mesh_SpaceshipGenerator import spaceship_generator
from add_mesh_SpaceshipGenerator import spaceship_generator
import bpy
from bpy.props import StringProperty, BoolProperty, IntProperty

Wyświetl plik

@ -6,12 +6,12 @@ import zipfile
SRC_DIR = dirname(abspath(__file__))
with zipfile.ZipFile('add_mesh_SpaceshipGenerator.zip', 'w', zipfile.ZIP_DEFLATED) as arch:
for filename in [
'__init__.py',
'spaceship_generator.py',
'textures/hull_normal.png',
'textures/hull_lights_emit.png',
'textures/hull_lights_diffuse.png']:
arch.write(pjoin(SRC_DIR, filename), 'add_mesh_SpaceshipGenerator/'+filename)
for filename in [
'__init__.py',
'spaceship_generator.py',
'textures/hull_normal.png',
'textures/hull_lights_emit.png',
'textures/hull_lights_diffuse.png']:
arch.write(pjoin(SRC_DIR, filename), 'add_mesh_SpaceshipGenerator/'+filename)
print('created file: add_mesh_SpaceshipGenerator.zip')