Add newlines to the end of all files

This commit is contained in:
Chris Burel
2021-04-21 09:50:30 -07:00
parent 0fa00a117c
commit 28170ffe41
3622 changed files with 3629 additions and 3629 deletions
@@ -52,4 +52,4 @@ export DYNACONF_DDCCSI_PY_BASE=${DCCSI_PYTHON_INSTALL}\python.cmd
# for utils/tools/apps that need them ( see config.init_ly_pyside() )
#export DYNACONF_QTFORPYTHON_PATH=${LY_DEV}\Gems\QtForPython\3rdParty\pyside2\windows\release
#export DYNACONF_QT_PLUGIN_PATH=${LY_BUILD_PATH}\bin\profile\EditorPlugins
#export DYNACONF_QT_QPA_PLATFORM_PLUGIN_PATH=${LY_BUILD_PATH}\bin\profile\EditorPlugins\platforms
#export DYNACONF_QT_QPA_PLATFORM_PLUGIN_PATH=${LY_BUILD_PATH}\bin\profile\EditorPlugins\platforms
@@ -18,4 +18,4 @@ __WIP__/*
!.p4ignore
!.gitignore
.secrets.*
settings.local.json
settings.local.json
@@ -10,4 +10,4 @@
#
add_subdirectory(Code)
update_pip_requirements(${CMAKE_CURRENT_LIST_DIR}/requirements.txt DccScriptingInterface)
update_pip_requirements(${CMAKE_CURRENT_LIST_DIR}/requirements.txt DccScriptingInterface)
@@ -127,4 +127,4 @@ if __name__ == '__main__':
_LOGGER.info(f'QT_QPA_PLATFORM_PLUGIN_PATH: {_settings.QT_QPA_PLATFORM_PLUGIN_PATH}')
_config.test_pyside2()
# --- END -----------------------------------------------------------------
# --- END -----------------------------------------------------------------
@@ -128,4 +128,4 @@ GOTO END_OF_FILE
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -149,4 +149,4 @@ GOTO END_OF_FILE
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -64,4 +64,4 @@ GOTO END_OF_FILE
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -92,4 +92,4 @@ GOTO END_OF_FILE
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -64,4 +64,4 @@ GOTO END_OF_FILE
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -54,4 +54,4 @@ GOTO END_OF_FILE
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -52,4 +52,4 @@ GOTO END_OF_FILE
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -67,4 +67,4 @@ GOTO END_OF_FILE
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -53,4 +53,4 @@ ENDLOCAL
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -73,4 +73,4 @@ IF EXIST "%MAYA_BIN_PATH%\maya.exe" (
:: Restore previous directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -51,4 +51,4 @@ ENDLOCAL
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -52,4 +52,4 @@ ENDLOCAL
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -104,4 +104,4 @@ IF EXIST "%ProgramFiles%\Microsoft VS Code\Code.exe" (
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -99,4 +99,4 @@ IF EXIST "%WINGHOME%\bin\wing.exe" (
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -73,4 +73,4 @@ ENDLOCAL
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -43,4 +43,4 @@ ENDLOCAL
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -46,4 +46,4 @@ ENDLOCAL
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -25,4 +25,4 @@ set PY_SITE=%DCCSI_PYTHON_INSTALL%\runtime\python-3.7.10-rev1-windows\python\Lib
set PACKAGE_LOC=C:\Depot\3rdParty\packages\openimageio-2.1.16.0-rev1-windows\OpenImageIO\2.1.16.0\win_x64\bin
copy %PACKAGE_LOC%\OpenImageIO.pyd %PY_SITE%\OpenImageIO.pyd
copy %PACKAGE_LOC%\OpenImageIO.pyd %PY_SITE%\OpenImageIO.pyd
@@ -32,4 +32,4 @@ __all__ = ['blender_materials',
'materials_export',
'max_materials',
'maya_materials',
'model']
'model']
@@ -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)
@@ -85,4 +85,4 @@ POPD
:END_OF_FILE
exit /b 0
exit /b 0
@@ -1073,4 +1073,4 @@ def launch_kitbash_converter():
if __name__ == '__main__':
launch_kitbash_converter()
launch_kitbash_converter()
@@ -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)
@@ -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()
@@ -45,4 +45,4 @@ ENDLOCAL
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -68,4 +68,4 @@ POPD
:END_OF_FILE
exit /b 0
exit /b 0
@@ -81,4 +81,4 @@ ENDLOCAL
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -72,4 +72,4 @@ GOTO END_OF_FILE
:: Return to starting directory
POPD
:END_OF_FILE
:END_OF_FILE
@@ -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
@@ -163,4 +163,4 @@ if __name__ == '__main__':
if __name__ == "__main__":
maya_client = MayaClient()
maya_client = MayaClient()
@@ -11,4 +11,4 @@
__all__ = ['atom_mat',
'fbx_to_atom',
'stingraypbs_converter',
'stingraypbs_converter_maya']
'stingraypbs_converter_maya']
@@ -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()
# -------------------------------------------------------------------------
# -------------------------------------------------------------------------
@@ -64,4 +64,4 @@ class FBX:
if __name__ == "__main__":
fbx01 = FBX(fbx_root + 'peccy_01.fbx')
fbx01.create_atom_material()
fbx01.create_atom_material()
@@ -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)'
@@ -93,4 +93,4 @@ def set_defaults(units='meter'):
_LOGGER.info('~ Setting up fixPaths in default scene')
return 0
# -------------------------------------------------------------------------
# -------------------------------------------------------------------------
@@ -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
@@ -85,4 +85,4 @@ POPD
:END_OF_FILE
exit /b 0
exit /b 0
@@ -18,4 +18,4 @@ def get_material_information():
print('Object---> {}'.format(mesh_object))
get_material_information()
get_material_information()
@@ -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()
@@ -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
@@ -132,4 +132,4 @@ if __name__ == "__main__":
# remove the logger
del _LOGGER
# ---- END ---------------------------------------------------------------
# ---- END ---------------------------------------------------------------
@@ -146,4 +146,4 @@ if __name__ == '__main__':
# remove the logger
del _LOGGER
# ---- END ---------------------------------------------------------------
# ---- END ---------------------------------------------------------------
@@ -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
@@ -96,4 +96,4 @@ timer = QTimer()
timer.timeout.connect(lambda: None)
timer.start(100)
sys.exit(app.exec_())
sys.exit(app.exec_())
@@ -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_())
@@ -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_())
@@ -19,4 +19,4 @@ BreadCrumbs are QWidgets with a QHBoxLayout with 0 content margins and one QLabe
AzQtComponents--BreadCrumbs
{
}
}
@@ -50,4 +50,4 @@ QMenu::separator
{
height: 1px;
background: #444444;
}
}
@@ -20,4 +20,4 @@ QToolTip
font-size: 12px;
margin-top: 0px;
margin-bottom: 0px;
}
}
@@ -39,4 +39,4 @@ Note: if you want to use them as a python package
this: pyside2-tools/pyside2uic/__init__.py.in
becomes: pyside2-tools/pyside2uic/__init__.py
Some examples are in: DccScriptingInterface\azpy\shared\ui\templates.py
Some examples are in: DccScriptingInterface\azpy\shared\ui\templates.py
@@ -1 +1 @@
workspace.xml
workspace.xml
@@ -23,4 +23,4 @@
</list>
</option>
</component>
</module>
</module>
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with NO BOM" />
</project>
</project>
@@ -7,4 +7,4 @@
<component name="PyPackaging">
<option name="earlyReleasesAsUpgrades" value="true" />
</component>
</project>
</project>
@@ -5,4 +5,4 @@
<module fileurl="file://$PROJECT_DIR$/.idea/DccScriptingInterface.iml" filepath="$PROJECT_DIR$/.idea/DccScriptingInterface.iml" />
</modules>
</component>
</project>
</project>
@@ -3,4 +3,4 @@
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../../../../.." vcs="Git" />
</component>
</project>
</project>
@@ -11,4 +11,4 @@
</entry>
</contentEntries>
</component>
</project>
</project>
@@ -8,4 +8,4 @@
"python.envFile": "${workspaceFolder}/../../.env",
"python.pythonPath": "${env:DCCSI_PY_DEFAULT}"
}
}
}
@@ -13,4 +13,4 @@
"python": "${workspaceFolder}\\..\\..\\..\\..\\..\\..\\Tools\\Python\\3.7.5\\windows\\python.exe"
}
]
}
}
@@ -2,4 +2,4 @@
"python.envFile": "${workspaceFolder}/../../.env",
"python.pythonPath": "${workspaceFolder}\\..\\..\\..\\..\\..\\..\\Tools\\Python\\3.7.5\\windows\\python.exe",
"editor.wordWrap": "wordWrapColumn"
}
}
@@ -13,4 +13,4 @@ DccScriptingInterface\Solutions\.dev
The user can create this folder locally.
We use it to store .pyi files to add to IDE configurations
for api inspection and auto-complete functionality
for api inspection and auto-complete functionality
@@ -66,4 +66,4 @@ def init():
pass
# -------------------------------------------------------------------------
del _LOGGER
del _LOGGER
@@ -66,4 +66,4 @@ def init():
pass
# -------------------------------------------------------------------------
del _LOGGER
del _LOGGER
@@ -200,4 +200,4 @@ if __name__ == '__main__':
_LOGGER.info('DCCSI_PYTHON_LIB_PATH: {}'.format(bootstrap_dccsi_py_libs(return_stub_dir('dccsi_stub'))))
# custom prompt
sys.ps1 = "[azpy]>>"
sys.ps1 = "[azpy]>>"
@@ -13,4 +13,4 @@
# -- This line is 75 characters -------------------------------------------
# define api package for each IDE supported
__all__ = ['ide', 'utils']
__all__ = ['ide', 'utils']
@@ -91,4 +91,4 @@ def import_all(_all=__all__):
if _DCCSI_DEV_MODE:
# If in dev mode this will test imports of __all__
import_all(__all__)
# -------------------------------------------------------------------------
# -------------------------------------------------------------------------
@@ -1,2 +1,2 @@
*.pyo
*.pyc
*.pyc
@@ -63,4 +63,4 @@ You might need to reboot wing. Then you should have auto-complete for the lumbe
Note: the entirety of azlmbr api does not generate .pyi files currently,
all of the "Behaviour Context" based classes do
non-BC modules such as azlmbr.paths currently do not
https://jira.agscollab.com/browse/SPEC-3316
https://jira.agscollab.com/browse/SPEC-3316
@@ -80,4 +80,4 @@ if __name__ == '__main__':
_DCCSI_DEV_MODE = True
_LOGGER.setLevel(_logging.DEBUG) # force debugging
foo = dccsi_test_script("This is a test")
foo = dccsi_test_script("This is a test")
@@ -13,4 +13,4 @@
# -- This line is 75 characters -------------------------------------------
# define api package for each IDE supported
__all__ = ['check']
__all__ = ['check']
@@ -15,4 +15,4 @@
# define api package for each IDE supported
__all__ = ['running_state', 'maya_app']
# maya_app, named such to avoid namespace collisions with maya dcc app api
# maya_app, named such to avoid namespace collisions with maya dcc app api
@@ -154,4 +154,4 @@ if __name__ == '__main__':
_LOGGER.info(STR_CROSSBAR)
_DCCSI_DCC_APP = validate_state()
_LOGGER.info('Is Maya Running? _DCCSI_DCC_APP = {}'.format(_DCCSI_DCC_APP))
_LOGGER.info('Is Maya Running? _DCCSI_DCC_APP = {}'.format(_DCCSI_DCC_APP))
@@ -27,4 +27,4 @@ def env_bool(envar, default=False):
return False
else:
return envar_test
# -------------------------------------------------------------------------
# -------------------------------------------------------------------------
@@ -66,4 +66,4 @@ def init():
pass
# -------------------------------------------------------------------------
del _LOGGER
del _LOGGER
@@ -67,4 +67,4 @@ def init():
pass
# -------------------------------------------------------------------------
del _LOGGER
del _LOGGER
@@ -66,4 +66,4 @@ def init():
pass
# -------------------------------------------------------------------------
del _LOGGER
del _LOGGER
@@ -76,4 +76,4 @@ if _DCCSI_DEV_MODE:
_logger=_LOGGER)
# -------------------------------------------------------------------------
del _LOGGER
del _LOGGER
@@ -13,4 +13,4 @@
# -- This line is 75 characters -------------------------------------------
# define api package for each IDE supported
__all__ = ['simple_command_port', 'execute_wing_code', 'wing_to_maya']
__all__ = ['simple_command_port', 'execute_wing_code', 'wing_to_maya']
@@ -239,4 +239,4 @@ if __name__ == '__main__':
# should attemp to open the port, which should warn because only works in Maya
foo_port.open()
_LOGGER.info('Port Name: {}'.format(foo_port.port_name))
_LOGGER.info('Port Name: {}'.format(foo_port.port_name))
@@ -151,4 +151,4 @@ def start_wing_to_maya_menu():
port = start_wing_to_maya(local_host=_LOCAL_HOST, comman_port=6000)
return
# -------------------------------------------------------------------------
# -------------------------------------------------------------------------
@@ -68,4 +68,4 @@ def init():
pass
# -------------------------------------------------------------------------
del _LOGGER
del _LOGGER
@@ -49,4 +49,4 @@ if _DCCSI_DEV_MODE:
_logger=_LOGGER)
# -------------------------------------------------------------------------
del _LOGGER
del _LOGGER
@@ -14,4 +14,4 @@
"DCCSI_WING_VERSION_MINOR": "1",
"WINGHOME": "C:\\Program Files (x86)\\Wing Pro 7.1",
"DCCSI_PY_DEFAULT": "G:\\depot\\JG_PC1_spectrAtom\\dev\\Tools\\Python\\3.7.5\\windows\\python.exe"
}
}
@@ -50,4 +50,4 @@ if _DCCSI_DEV_MODE:
_logger=_LOGGER)
# -------------------------------------------------------------------------
del _LOGGER
del _LOGGER
@@ -49,4 +49,4 @@ if _DCCSI_DEV_MODE:
_logger=_LOGGER)
# -------------------------------------------------------------------------
del _LOGGER
del _LOGGER
@@ -2,4 +2,4 @@ LICENSE
https://github.com/ColinDuquesnoy/QDarkStyleSheet/blob/master/LICENSE.rst
DEPOT
https://github.com/ColinDuquesnoy/QDarkStyleSheet
https://github.com/ColinDuquesnoy/QDarkStyleSheet
@@ -19,4 +19,4 @@ BreadCrumbs are QWidgets with a QHBoxLayout with 0 content margins and one QLabe
AzQtComponents--BreadCrumbs
{
}
}
@@ -50,4 +50,4 @@ QMenu::separator
{
height: 1px;
background: #444444;
}
}
@@ -20,4 +20,4 @@ QToolTip
font-size: 12px;
margin-top: 0px;
margin-bottom: 0px;
}
}

Some files were not shown because too many files have changed in this diff Show More