You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Use 8×8 default grid size for TextureRegion and 2D polygon editors
Power-of-two grid sizes are more suited to most game assets.
This commit is contained in:
@@ -212,7 +212,8 @@ private:
|
||||
bool selected_from_canvas = false;
|
||||
|
||||
Point2 grid_offset;
|
||||
Point2 grid_step = Point2(8, 8); // A power-of-two value works better as a default.
|
||||
// A power-of-two value works better as a default grid size.
|
||||
Point2 grid_step = Point2(8, 8);
|
||||
int primary_grid_steps = 8;
|
||||
int grid_step_multiplier = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user