You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Implement exponential operator (**) to GDScript/Expressions
This commit is contained in:
committed by
Yuri Rubinsky
parent
9963ae3553
commit
dbd7a31507
@@ -1409,6 +1409,8 @@ def sanitize_operator_name(dirty_name, state): # type: (str, State) -> str
|
||||
clear_name = "div"
|
||||
elif clear_name == "%":
|
||||
clear_name = "mod"
|
||||
elif clear_name == "**":
|
||||
clear_name = "pow"
|
||||
|
||||
elif clear_name == "unary+":
|
||||
clear_name = "unplus"
|
||||
|
||||
Reference in New Issue
Block a user