Add newlines to the end of all files
This commit is contained in:
+1
-1
@@ -32,4 +32,4 @@ __all__ = ['blender_materials',
|
||||
'materials_export',
|
||||
'max_materials',
|
||||
'maya_materials',
|
||||
'model']
|
||||
'model']
|
||||
|
||||
+1
-1
@@ -157,4 +157,4 @@ if __name__ == '__main__':
|
||||
# print(value)
|
||||
# scene_information.append(value)
|
||||
# initialize_scene(scene_information)
|
||||
# instance = BlenderMaterials(file_list, total_material_count)
|
||||
# instance = BlenderMaterials(file_list, total_material_count)
|
||||
|
||||
+1
-1
@@ -85,4 +85,4 @@ POPD
|
||||
|
||||
:END_OF_FILE
|
||||
|
||||
exit /b 0
|
||||
exit /b 0
|
||||
|
||||
+1
-1
@@ -1073,4 +1073,4 @@ def launch_kitbash_converter():
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
launch_kitbash_converter()
|
||||
launch_kitbash_converter()
|
||||
|
||||
+1
-1
@@ -369,4 +369,4 @@ base_directory = sys.argv[-2]
|
||||
_LOGGER.info('Base Directory: {}'.format(base_directory))
|
||||
relative_destination_path = sys.argv[-1].replace('/', '\\')
|
||||
_LOGGER.info('Relative Destination Path: {}'.format(relative_destination_path))
|
||||
ProcessFbxFile(fbx_file, base_directory, relative_destination_path)
|
||||
ProcessFbxFile(fbx_file, base_directory, relative_destination_path)
|
||||
|
||||
+1
-1
@@ -37,4 +37,4 @@ settings = _config.get_config_settings(setup_ly_pyside=True)
|
||||
|
||||
from main import launch_kitbash_converter
|
||||
|
||||
launch_kitbash_converter()
|
||||
launch_kitbash_converter()
|
||||
|
||||
+1
-1
@@ -45,4 +45,4 @@ ENDLOCAL
|
||||
:: Return to starting directory
|
||||
POPD
|
||||
|
||||
:END_OF_FILE
|
||||
:END_OF_FILE
|
||||
|
||||
+1
-1
@@ -68,4 +68,4 @@ POPD
|
||||
|
||||
:END_OF_FILE
|
||||
|
||||
exit /b 0
|
||||
exit /b 0
|
||||
|
||||
+1
-1
@@ -81,4 +81,4 @@ ENDLOCAL
|
||||
:: Return to starting directory
|
||||
POPD
|
||||
|
||||
:END_OF_FILE
|
||||
:END_OF_FILE
|
||||
|
||||
+1
-1
@@ -72,4 +72,4 @@ GOTO END_OF_FILE
|
||||
:: Return to starting directory
|
||||
POPD
|
||||
|
||||
:END_OF_FILE
|
||||
:END_OF_FILE
|
||||
|
||||
+1
-1
@@ -74,4 +74,4 @@ FBX_ASSIGNED_GEO = 'assigned'
|
||||
# Threshold values for baked vertex color
|
||||
# id mask images when no UVs present
|
||||
EMPTY_IMAGE_LOW = 260000
|
||||
EMPTY_IMAGE_LOW = 270000
|
||||
EMPTY_IMAGE_LOW = 270000
|
||||
|
||||
+1
-1
@@ -163,4 +163,4 @@ if __name__ == '__main__':
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
maya_client = MayaClient()
|
||||
maya_client = MayaClient()
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@
|
||||
__all__ = ['atom_mat',
|
||||
'fbx_to_atom',
|
||||
'stingraypbs_converter',
|
||||
'stingraypbs_converter_maya']
|
||||
'stingraypbs_converter_maya']
|
||||
|
||||
+1
-1
@@ -63,4 +63,4 @@ class AtomMaterial:
|
||||
output_data = open(material_out, "w+")
|
||||
output_data.write(json.dumps(self.mat_box, indent=4))
|
||||
output_data.close()
|
||||
# -------------------------------------------------------------------------
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
+1
-1
@@ -64,4 +64,4 @@ class FBX:
|
||||
|
||||
if __name__ == "__main__":
|
||||
fbx01 = FBX(fbx_root + 'peccy_01.fbx')
|
||||
fbx01.create_atom_material()
|
||||
fbx01.create_atom_material()
|
||||
|
||||
+1
-1
@@ -32,4 +32,4 @@ So we can make an update here once that is used elsewhere
|
||||
# none
|
||||
# -------------------------------------------------------------------------
|
||||
OBJ_DCCSI_MAINMENU = 'LyDCCsiMainMenu'
|
||||
TAG_DCCSI_MAINMENU = 'DCCsi (LY:Atom)'
|
||||
TAG_DCCSI_MAINMENU = 'DCCsi (LY:Atom)'
|
||||
|
||||
+1
-1
@@ -93,4 +93,4 @@ def set_defaults(units='meter'):
|
||||
_LOGGER.info('~ Setting up fixPaths in default scene')
|
||||
|
||||
return 0
|
||||
# -------------------------------------------------------------------------
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
+1
-1
@@ -88,4 +88,4 @@ def set_main_menu(obj_name=OBJ_DCCSI_MAINMENU, label=TAG_DCCSI_MAINMENU):
|
||||
#==========================================================================
|
||||
if __name__ == '__main__':
|
||||
|
||||
_custom_menu = set_main_menu()
|
||||
_custom_menu = set_main_menu()
|
||||
|
||||
@@ -77,4 +77,4 @@ We have a requirements.txt file with the extension packages we use in the DCCsi.
|
||||
You'll need the repo/branch path of your Lumberyard(O3DE) install.
|
||||
And you'll need to know where the DCCsi, we will install package dependancies there.
|
||||
|
||||
C:\Program Files\Autodesk\Maya2020\bin>mayapy -m pip install -r C:\Depot\Lumberyard\Gems\AtomLyIntegration\TechnicalArt\DccScriptingInterface\SDK\Maya\requirements.txt -t C:\Depot\Lumberyard\Gems\AtomLyIntegration\TechnicalArt\DccScriptingInterface\3rdParty\Python\Lib\2.x\2.7.x\site-packages
|
||||
C:\Program Files\Autodesk\Maya2020\bin>mayapy -m pip install -r C:\Depot\Lumberyard\Gems\AtomLyIntegration\TechnicalArt\DccScriptingInterface\SDK\Maya\requirements.txt -t C:\Depot\Lumberyard\Gems\AtomLyIntegration\TechnicalArt\DccScriptingInterface\3rdParty\Python\Lib\2.x\2.7.x\site-packages
|
||||
|
||||
@@ -30,4 +30,4 @@ python-box==3.4.6 \
|
||||
unipath==1.1 \
|
||||
--hash=sha256:09839adcc72e8a24d4f76d63656f30b5a1f721fc40c9bcd79d8c67bdd8b47dae \
|
||||
--hash=sha256:e6257e508d8abbfb6ddd8ec357e33589f1f48b1599127f23b017124d90b0fff7
|
||||
# via -r requirements.txt
|
||||
# via -r requirements.txt
|
||||
|
||||
+1
-1
@@ -85,4 +85,4 @@ POPD
|
||||
|
||||
:END_OF_FILE
|
||||
|
||||
exit /b 0
|
||||
exit /b 0
|
||||
|
||||
+1
-1
@@ -18,4 +18,4 @@ def get_material_information():
|
||||
print('Object---> {}'.format(mesh_object))
|
||||
|
||||
|
||||
get_material_information()
|
||||
get_material_information()
|
||||
|
||||
+1
-1
@@ -37,4 +37,4 @@ settings = _config.get_config_settings(setup_ly_pyside=True)
|
||||
|
||||
from main import launch_material_converter
|
||||
|
||||
launch_material_converter()
|
||||
launch_material_converter()
|
||||
|
||||
+1
-1
@@ -74,4 +74,4 @@ layout.addWidget(QLabel('Hello World!')) # Add a label
|
||||
layout.addWidget(button) # Add the button man
|
||||
window.setLayout(layout) # Pass the layout to the window
|
||||
window.show() # Show window
|
||||
app.exec_() # Execute the App
|
||||
app.exec_() # Execute the App
|
||||
|
||||
+1
-1
@@ -132,4 +132,4 @@ if __name__ == "__main__":
|
||||
|
||||
# remove the logger
|
||||
del _LOGGER
|
||||
# ---- END ---------------------------------------------------------------
|
||||
# ---- END ---------------------------------------------------------------
|
||||
|
||||
+1
-1
@@ -146,4 +146,4 @@ if __name__ == '__main__':
|
||||
|
||||
# remove the logger
|
||||
del _LOGGER
|
||||
# ---- END ---------------------------------------------------------------
|
||||
# ---- END ---------------------------------------------------------------
|
||||
|
||||
+1
-1
@@ -90,4 +90,4 @@ reader.start('python', ['-u', 'C:\\dccapi\\dev\\Gems\\DccScriptingInterface\\LyP
|
||||
'\\__init__.py', 'C:\\Users\\chunghao\\Documents\\Allegorithmic\\Substance Designer'
|
||||
'\\sbsar']) # start the process
|
||||
console.show() # make the console visible
|
||||
app.exec_() # run the PyQt main loop
|
||||
app.exec_() # run the PyQt main loop
|
||||
|
||||
+1
-1
@@ -96,4 +96,4 @@ timer = QTimer()
|
||||
timer.timeout.connect(lambda: None)
|
||||
timer.start(100)
|
||||
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec_())
|
||||
|
||||
+1
-1
@@ -76,4 +76,4 @@ if __name__ == "__main__":
|
||||
mainWindow = MainWindow(_UI_FILEPATH)
|
||||
mainWindow.setWindowTitle(_PROGRAM_NAME_VERSION)
|
||||
mainWindow.show()
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec_())
|
||||
|
||||
+1
-1
@@ -338,4 +338,4 @@ if __name__ == '__main__':
|
||||
timer.timeout.connect(lambda: None)
|
||||
timer.start(10)
|
||||
# sys.exit(reader.kill())
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec_())
|
||||
|
||||
+1
-1
@@ -19,4 +19,4 @@ BreadCrumbs are QWidgets with a QHBoxLayout with 0 content margins and one QLabe
|
||||
|
||||
AzQtComponents--BreadCrumbs
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -50,4 +50,4 @@ QMenu::separator
|
||||
{
|
||||
height: 1px;
|
||||
background: #444444;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -20,4 +20,4 @@ QToolTip
|
||||
font-size: 12px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -12,4 +12,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -262,4 +262,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -76,4 +76,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -47,4 +47,4 @@
|
||||
"textureMap": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -76,4 +76,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user