Skip to content

Commit

Permalink
Fix min/max values in some graph node properties were rounded to inte…
Browse files Browse the repository at this point in the history
…gers
  • Loading branch information
Zylann committed Apr 26, 2023
1 parent c5af0d1 commit f41eba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generators/graph/node_type_db.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ struct NodeType {
bool has_range = false;
bool multiline = false;
bool hidden = false;
int min_value;
int max_value;
Variant min_value;
Variant max_value;
std::vector<std::string> enum_items;

Param(String p_name, Variant::Type p_type, Variant p_default_value = Variant()) :
Expand Down

0 comments on commit f41eba8

Please sign in to comment.