Skip to content

Commit

Permalink
Merge pull request #21248 from akien-mga/remove-utf8-constants
Browse files Browse the repository at this point in the history
Remove circle/diamond String constants
  • Loading branch information
akien-mga authored Aug 21, 2018
2 parents 94862d4 + f0b914f commit 238b70e
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions core/variant_call.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 238b70e

Please sign in to comment.