Implement the ability to disable classes

* This PR adds the ability to disable classes when building.
* For now it's only possible to do this via command like:
  `scons disable_classes=RayCast2D,Area3D`
* Eventually, a proper UI will be implemented to create a build config file to do this at large scale, as well as detect what is used in the project.
This commit is contained in:
reduz 2021-07-11 19:30:33 -03:00
parent fc00a83901
commit 5ad4f26659
44 changed files with 789 additions and 757 deletions

View file

@ -33,8 +33,8 @@
#include "open_simplex_noise.h"
void register_opensimplex_types() {
ClassDB::register_class<OpenSimplexNoise>();
ClassDB::register_class<NoiseTexture>();
GDREGISTER_CLASS(OpenSimplexNoise);
GDREGISTER_CLASS(NoiseTexture);
}
void unregister_opensimplex_types() {