blackears / cyclopsLevelBuilder

A Godot plugin to let you block in levels inside the Godot editor.
MIT License
1.09k stars 44 forks source link

Cyclops does not load because of a parse error #169

Open mikerp99 opened 6 months ago

mikerp99 commented 6 months ago

The Below is outputted when I setup Cyclops as a Singleton in Godot 4.2.1.

Failed parse script res://addons/cyclops_level_builder/math/data_vector.gd
  Class "DataVector" hides a global script class.
  res://addons/cyclops_level_builder/math/data_vector.gd:26 - Parse Error: Class "DataVector" hides a global script class.
  modules/gdscript/gdscript.cpp:2788 - Failed to load script "res://addons/cyclops_level_builder/math/data_vector.gd" with error "Parse error". (User)

It looks like res://addons/cyclops_level_builder/math/data_vector.gd line 26 defines class_name DataVector as does res://addons/cyclops_level_builder/resources/data_vector.gd line 26.

blackears commented 6 months ago

I've removed the extra class.