You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Make some debug prints verbose-only, remove others
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include "os/input.h"
|
||||
#include "os/keyboard.h"
|
||||
#include "scene/2d/skeleton_2d.h"
|
||||
|
||||
Node2D *Polygon2DEditor::_get_node() const {
|
||||
|
||||
return node;
|
||||
@@ -82,7 +83,6 @@ void Polygon2DEditor::_notification(int p_what) {
|
||||
|
||||
void Polygon2DEditor::_sync_bones() {
|
||||
|
||||
print_line("syncinc");
|
||||
if (!node->has_node(node->get_skeleton())) {
|
||||
error->set_text(TTR("The skeleton property of the Polygon2D does not point to a Skeleton2D node"));
|
||||
error->popup_centered_minsize();
|
||||
@@ -101,8 +101,6 @@ void Polygon2DEditor::_sync_bones() {
|
||||
Array prev_bones = node->call("_get_bones");
|
||||
node->clear_bones();
|
||||
|
||||
print_line("bones in skeleton: " + itos(skeleton->get_bone_count()));
|
||||
|
||||
for (int i = 0; i < skeleton->get_bone_count(); i++) {
|
||||
NodePath path = skeleton->get_path_to(skeleton->get_bone(i));
|
||||
PoolVector<float> weights;
|
||||
|
||||
Reference in New Issue
Block a user