summaryrefslogtreecommitdiff
path: root/editor/property_editor.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-23 15:27:20 +0200
committerGitHub <noreply@github.com>2018-09-23 15:27:20 +0200
commit2c7908739a9508cdd725fdd3175477f4d048ea26 (patch)
treefaf33ee70bf2b7ab9d8bce33b3fd5993480330cf /editor/property_editor.h
parent3b510224293dd012278dcf6416835198fa9b67a2 (diff)
parentf483460e389727cd29fdd53e212037934a0bd767 (diff)
Merge pull request #22351 from DualMatrix/remove_obsolete
Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
Diffstat (limited to 'editor/property_editor.h')
-rw-r--r--editor/property_editor.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/editor/property_editor.h b/editor/property_editor.h
index ee3a56d857..c74103df3d 100644
--- a/editor/property_editor.h
+++ b/editor/property_editor.h
@@ -171,30 +171,9 @@ public:
void set_read_only(bool p_read_only) { read_only = p_read_only; }
- void set_value_evaluator(PropertyValueEvaluator *p_evaluator) { evaluator = p_evaluator; }
-
bool edit(Object *p_owner, const String &p_name, Variant::Type p_type, const Variant &p_variant, int p_hint, String p_hint_text);
CustomPropertyEditor();
};
-class PropertyValueEvaluator : public ValueEvaluator {
- GDCLASS(PropertyValueEvaluator, ValueEvaluator);
-
- Object *obj;
- ScriptLanguage *script_language;
- String _build_script(const String &p_text);
-
- _FORCE_INLINE_ double _default_eval(const String &p_text) {
- return p_text.to_double();
- }
-
-public:
- void edit(Object *p_obj);
- double eval(const String &p_text);
-
- PropertyValueEvaluator();
- ~PropertyValueEvaluator();
-};
-
#endif