Must now register with set_transform_notify() to get NOTIFICATION_TRANSFORM_CHANGED

This commit is contained in:
Juan Linietsky
2017-01-12 20:35:46 -03:00
parent da477b76a9
commit a2903fc51d
26 changed files with 65 additions and 7 deletions

View File

@@ -1384,6 +1384,8 @@ String Node::_generate_serial_child_name(Node *p_child) {
if (name=="") {
name = p_child->get_class();
/* this is probably too slow to use here, should check alternatives
*
// Adjust casing according to project setting. The current type name is expected to be in PascalCase.
switch (Globals::get_singleton()->get("node/name_casing").operator int()) {
case NAME_CASING_PASCAL_CASE:
@@ -1395,6 +1397,7 @@ String Node::_generate_serial_child_name(Node *p_child) {
name = name.camelcase_to_underscore(true);
break;
}
*/
}
// Extract trailing number