Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global axis translation does not work #12817

Closed
djrm opened this issue Nov 10, 2017 · 9 comments
Closed

Global axis translation does not work #12817

djrm opened this issue Nov 10, 2017 · 9 comments

Comments

@djrm
Copy link
Contributor

djrm commented Nov 10, 2017

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Fedora 64bit godot master 19b1ff0

Issue description:

the axis translation in global coordinates is broken, it does not respect the axis

example
peek 2017-11-10 13-21

Steps to reproduce:
try to translate something by axis

ping @n-pigeon

Link to minimal example project:

@Zireael07
Copy link
Contributor

I think it's a recent regression, I wasn't seeing this weirdness in 9a78efc when I was demonstrating Godot's axes for someone on Discord.

@djrm
Copy link
Contributor Author

djrm commented Nov 10, 2017

most probably it's a regresion from f1c2a18

@SirPigeonz
Copy link
Contributor

SirPigeonz commented Nov 10, 2017

What? O_o
Testing it right now on master and it works normally. What the hell...

Can you give me test project?
And thx for testing.

Super weird...

@djrm
Copy link
Contributor Author

djrm commented Nov 10, 2017

@n-pigeon it is in every project, but there is something weird, it only happens with release_debug, in debug build im unable to reproduce.

@SirPigeonz
Copy link
Contributor

@djrm
Ah ok, I tested only with debug build. (I must remember this lesson for future xD)

Thx for clues. :)

@Zylann
Copy link
Contributor

Zylann commented Nov 11, 2017

I would be curious to know how release_debug vs debug has a difference :p

@djrm
Copy link
Contributor Author

djrm commented Nov 11, 2017

in my case its just the compiler, i do release_debug with gcc and debug with clang
g++ (GCC) 7.2.1 20170915

@ghost ghost added this to the 3.0 milestone Nov 11, 2017
@SirPigeonz
Copy link
Contributor

SirPigeonz commented Nov 11, 2017

@Zylann Me too xDDD
I can confirm it breaks with release_debug... (I use gcc for both)

@SirPigeonz
Copy link
Contributor

SirPigeonz commented Nov 13, 2017

@Zylann @djrm
Problem was in uninitialized bool. In debug target it was false as intended but in release_debug it was initialized as true and that was the problem :B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants