godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.48k stars 21.26k forks source link

Float field on Visual Shader editor bug #49260

Open stilobique opened 3 years ago

stilobique commented 3 years ago

Godot version: 3.3.2 | From Steam release

OS/device including version:

Test on :

Issue description: Hello, with the visualshader editor, if you try to slide a value with your cursor, godot move your cursor on your screen center. Try with an empty scene and a new shader.

Gif Explain: Scalar-Bug Scalar-Expose

Steps to reproduce: Add a scalar constant with the VisualShader editor, and try to slide the value.

Minimal reproduction project: A simple project with a basic material. Test.zip

Calinou commented 3 years ago

Related to https://github.com/godotengine/godot/issues/47608.

veryprofessionaldodo commented 3 years ago

Couldn't reproduce this on the latest version, everything was working as expected. This was probably fixed, but the fix needs to be backported to 3.3. What do you think?

greatmomo commented 3 years ago

Working for me on the master as well.

stilobique commented 3 years ago

Hi, i'm compile any branches and my result :

veryprofessionaldodo commented 3 years ago

I'll try to identify what's solved it and see if I can backport the fix to 3.3 and 3.x branches.

Chaosus commented 3 years ago

Float node (this node as rename ?)

It is.

veryprofessionaldodo commented 3 years ago

Haven't figured it out, it seems like the culprit is lower level than I originally thought