Unexpose AnimationTrackEditPlugin as not implemented

This commit is contained in:
Yuri Sizov 2023-04-25 11:32:36 +02:00
parent e54ebaf0eb
commit 0562decf34
4 changed files with 1 additions and 13 deletions

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<class name="AnimationTrackEditPlugin" inherits="RefCounted" version="4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
</brief_description>
<description>
</description>
<tutorials>
</tutorials>
</class>

View File

@ -86,7 +86,6 @@ CLASS_GROUPS_BASE: Dict[str, str] = {
} }
# Sync with editor\register_editor_types.cpp # Sync with editor\register_editor_types.cpp
EDITOR_CLASSES: List[str] = [ EDITOR_CLASSES: List[str] = [
"AnimationTrackEditPlugin",
"FileSystemDock", "FileSystemDock",
"ScriptCreateDialog", "ScriptCreateDialog",
"ScriptEditor", "ScriptEditor",

View File

@ -30,7 +30,6 @@
#include "register_editor_types.h" #include "register_editor_types.h"
#include "editor/animation_track_editor.h"
#include "editor/debugger/debug_adapter/debug_adapter_server.h" #include "editor/debugger/debug_adapter/debug_adapter_server.h"
#include "editor/editor_command_palette.h" #include "editor/editor_command_palette.h"
#include "editor/editor_feature_profile.h" #include "editor/editor_feature_profile.h"
@ -144,7 +143,6 @@ void register_editor_types() {
GDREGISTER_CLASS(EditorInspector); GDREGISTER_CLASS(EditorInspector);
GDREGISTER_CLASS(EditorInspectorPlugin); GDREGISTER_CLASS(EditorInspectorPlugin);
GDREGISTER_CLASS(EditorProperty); GDREGISTER_CLASS(EditorProperty);
GDREGISTER_CLASS(AnimationTrackEditPlugin);
GDREGISTER_CLASS(ScriptCreateDialog); GDREGISTER_CLASS(ScriptCreateDialog);
GDREGISTER_CLASS(EditorFeatureProfile); GDREGISTER_CLASS(EditorFeatureProfile);
GDREGISTER_CLASS(EditorSpinSlider); GDREGISTER_CLASS(EditorSpinSlider);

View File

@ -860,7 +860,7 @@ double AnimationNodeStateMachinePlayback::_process(const String &p_base_path, An
// Find next and see when to transition. // Find next and see when to transition.
_transition_to_next_recursive(tree, p_state_machine, p_test_only); _transition_to_next_recursive(tree, p_state_machine, p_test_only);
// Predict reamin time. // Predict remaining time.
double remain = rem; // If we can't predict the end of state machine, the time remaining must be INFINITY. double remain = rem; // If we can't predict the end of state machine, the time remaining must be INFINITY.
if (p_state_machine->get_state_machine_type() == AnimationNodeStateMachine::STATE_MACHINE_TYPE_NESTED) { if (p_state_machine->get_state_machine_type() == AnimationNodeStateMachine::STATE_MACHINE_TYPE_NESTED) {