mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-07 17:06:37 +02:00
Ignore more VS crap
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -65,6 +65,7 @@ config.log
|
|||||||
*.pyc
|
*.pyc
|
||||||
site_scons/site_tools/mfprogram/*.pyc
|
site_scons/site_tools/mfprogram/*.pyc
|
||||||
site_scons/site_tools/gch/*.pyc
|
site_scons/site_tools/gch/*.pyc
|
||||||
.vscode/ipch
|
.vscode/
|
||||||
|
.vs/
|
||||||
|
|
||||||
screenshot_*
|
screenshot_*
|
||||||
|
@@ -8,7 +8,7 @@ else:
|
|||||||
name = sys.argv[1]
|
name = sys.argv[1]
|
||||||
|
|
||||||
if re.search('[^A-Z0-9-]', name):
|
if re.search('[^A-Z0-9-]', name):
|
||||||
sys.exit('element names should only contain uppercase letters, numbers and hyphens (you can change the Name property of the element to whatever later though, which is what shows up in menus)')
|
sys.exit('element names should only contain uppercase letters, digits and hyphens (you can change the Name property of the element to whatever later though, which is what shows up in menus)')
|
||||||
|
|
||||||
path = 'src/simulation/elements/' + name + '.cpp'
|
path = 'src/simulation/elements/' + name + '.cpp'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user