Merge pull request #21248 from akien-mga/remove-utf8-constants

Remove circle/diamond String constants
This commit is contained in:
Rémi Verschelde 2018-08-21 13:09:58 +02:00 committed by GitHub
commit 238b70e2db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 12 deletions

View File

@ -1925,18 +1925,6 @@ void register_variant_methods() {
_VariantCall::add_variant_constant(Variant::PLANE, "Z", Plane(Vector3(0, 0, 1), 0));
_VariantCall::add_variant_constant(Variant::QUAT, "IDENTITY", Quat(0, 0, 0, 1));
CharType black_circle[2] = { 0x25CF, 0 };
_VariantCall::add_variant_constant(Variant::STRING, "BLACK_CIRCLE", String(black_circle));
CharType white_circle[2] = { 0x25CB, 0 };
_VariantCall::add_variant_constant(Variant::STRING, "WHITE_CIRCLE", String(white_circle));
CharType black_diamond[2] = { 0x25C6, 0 };
_VariantCall::add_variant_constant(Variant::STRING, "BLACK_DIAMOND", String(black_diamond));
CharType white_diamond[2] = { 0x25C7, 0 };
_VariantCall::add_variant_constant(Variant::STRING, "WHITE_DIAMOND", String(white_diamond));
_VariantCall::add_variant_constant(Variant::NODE_PATH, "CURRENT", String("."));
_VariantCall::add_variant_constant(Variant::NODE_PATH, "PARENT", String(".."));
}
void unregister_variant_methods() {