mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add EditorSettings EDITOR_GET_CACHED
This commit is contained in:
@@ -136,7 +136,7 @@ bool Polygon3DEditor::forward_spatial_gui_input(Camera *p_camera, const Ref<Inpu
|
||||
Vector<Vector2> poly = node->call("get_polygon");
|
||||
|
||||
//first check if a point is to be added (segment split)
|
||||
real_t grab_threshold = EDITOR_GET("editors/poly_editor/point_grab_radius");
|
||||
real_t grab_threshold = EDITOR_GET_CACHED(real_t, "editors/poly_editor/point_grab_radius");
|
||||
|
||||
switch (mode) {
|
||||
case MODE_CREATE: {
|
||||
|
||||
Reference in New Issue
Block a user