This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@tool | |
extends EditorScenePostImport | |
func _post_import(scene): | |
var fake_root = scene.get_child(0) # glTF's root "scene" node | |
# Remove the wrongly imported fake root node | |
reparent_children(fake_root, scene) | |
fake_root.queue_free() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ===Color Abbreviation=== | |
# x = reset | |
# k = blacK r = Red | |
# g = Green y = Yellow | |
# b = Blue m = Magenta | |
# c = Cyan w = White | |
function prompt { | |
$esc = [char]0x1b | |
$x = "$esc[0m" | |
$k = "$esc[90m" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///// TODO : Replace <<LAN_INTERFACE>> with internal bridge or lan interface, replace <<<PPPOE_DIGI_INTERFACE>>> with the pppoe-digi interface | |
/ipv6 nd | |
set [ find default=yes ] disabled=yes | |
add advertise-dns=yes interface=<<LAN_INTERFACE>> | |
/ipv6 dhcp-client | |
add add-default-route=yes interface=<<<PPPOE_DIGI_INTERFACE>>> pool-name=pool6 request=address,prefix script=":del\ | |
ay 5s;\ | |
\n/ipv6 address remove [find advertise=yes]\ |