mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Make OpenSimplex and VisualScript modules not depend on the editor
This commit is contained in:
@@ -32,9 +32,12 @@
|
||||
|
||||
#include "core/config/engine.h"
|
||||
#include "core/templates/local_vector.h"
|
||||
#include "editor/editor_node.h"
|
||||
#include "scene/resources/packed_scene.h"
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
#include "editor/editor_node.h"
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
bool PropertyUtils::is_property_value_different(const Variant &p_a, const Variant &p_b) {
|
||||
if (p_a.get_type() == Variant::FLOAT && p_b.get_type() == Variant::FLOAT) {
|
||||
//this must be done because, as some scenes save as text, there might be a tiny difference in floats due to numerical error
|
||||
|
||||
Reference in New Issue
Block a user