initial commit, 4.5 stable
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
This commit is contained in:
24
editor/icons/SCsub
Normal file
24
editor/icons/SCsub
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env python
|
||||
from misc.utility.scons_hints import *
|
||||
|
||||
Import("env")
|
||||
|
||||
import os
|
||||
|
||||
import editor_icons_builders
|
||||
|
||||
# Editor's own icons
|
||||
icon_sources = Glob("*.svg")
|
||||
|
||||
# Module icons
|
||||
for path in env.module_icons_paths:
|
||||
if not os.path.isabs(path):
|
||||
icon_sources += Glob(f"#{path}/*.svg") # Built-in.
|
||||
else:
|
||||
icon_sources += Glob(f"{path}/*.svg") # Custom.
|
||||
|
||||
env.CommandNoCache(
|
||||
"#editor/themes/editor_icons.gen.h",
|
||||
icon_sources,
|
||||
env.Run(editor_icons_builders.make_editor_icons_action),
|
||||
)
|
Reference in New Issue
Block a user