Skip to content

Editor Translate Snap Shifted Decimals #77414

Description

@Naradoxy

Godot version

v4.0.stable.official [92bee43]

System information

Windows 10, AMD Ryzen 7 3700X 8-Core Processor

Issue description

Editing the grid translate snap number, leaving that scene in the editor, then coming back the number will shift by a small amount.
This is in the 3D tab.

Ex:
I set it as 0.0005, which shifted to 0.00050000002375
or 0.01 became 0.00999999977648

Steps to reproduce

-Be in the 3D view.
-Edit the translate snap in a scene to a specific number (it has to be a floating point number).
-Switch scene, then come back.
-Open the configure snap menu and see it has slightly shifted (as shown in the examples in Issue desc.).

Minimal reproduction project

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions