The editor plugin nonsense turned out to be useless

This commit is contained in:
2025-03-08 17:23:48 -08:00
parent 295d2cd838
commit a2c493b81e
6 changed files with 1 additions and 41 deletions

View File

@ -116,7 +116,6 @@ horizontal_alignment = 1
autowrap_mode = 3
[node name="CopyPopup" type="PopupPanel" parent="."]
transparent_bg = true
position = Vector2i(492, 586)
size = Vector2i(164, 31)

View File

@ -2,10 +2,7 @@
# This file is the BSON serializer for the Godot Engine,
# published under the MIT license. https://opensource.org/license/MIT
extends Node
# Unfortunately, this has to be a node in order to be a singleton.
# I'd rather BSON wasn't in the scenetree, but it seems like that's
# the only way to do this. Hopefully this will change in the future.
class_name BSON
static func to_bson(data: Dictionary) -> PackedByteArray:

View File

@ -1,7 +0,0 @@
[plugin]
name="BSON"
description="A BSON class to serialize and deserialize BSON in GDScript."
author="Colormatic Studios"
version=""
script="plugin.gd"

View File

@ -1,20 +0,0 @@
@tool
extends EditorPlugin
const AUTOLOAD_NAME = "BSON"
#func _enter_tree() -> void:
# Initialization of the plugin goes here.
#pass
#func _exit_tree() -> void:
# Clean-up of the plugin goes here.
#pass
func _enable_plugin() -> void:
add_autoload_singleton(AUTOLOAD_NAME, "res://addons/bson/bson.gd")
func _disable_plugin() -> void:
remove_autoload_singleton(AUTOLOAD_NAME)

View File

@ -1 +0,0 @@
uid://csghpbkcd8wca

View File

@ -14,11 +14,3 @@ config/name="BSON for Godot"
run/main_scene="res://BSON Examples/dunk.tscn"
config/features=PackedStringArray("4.4", "Forward Plus")
config/icon="res://icon.svg"
[autoload]
BSON="*res://addons/bson/bson.gd"
[editor_plugins]
enabled=PackedStringArray("res://addons/bson/plugin.cfg")