-
Notifications
You must be signed in to change notification settings - Fork 253
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
Pasting entities are sometimes not placed right at all #2755
Comments
Can reproduce. What I see is in |
Pick results somehow outdated? Or could it have to do with our event batching that was introduced a while back? |
It's looking like something simpler.. When I reproduce Bal's gif, by repeatedly cutting/pasting, the pick ray in I think this is all behaving as expected, the pick query in |
Well, that will fix it, but it‘s still wrong. It should sample the position before pasting. But if it works, it works ;-) |
Oh right, I'll see if I can fix it properly. |
to prevent the pasted objects from interfering with the pick ray. Fixes #2755
When copy-pasting stuff (entities, brushes, etc. it can happen for any of them), most of the time TB pastes correctly to the surface your cursor is above, but at times it'll decide to paste somewhere behind that surface at some random distance, as seen here :

System Information
TrenchBroom 2019.5 Build v2019.5-RC5-1-gf002ad8 Release on Windows 7.
But this has always happened as far as I can remember, but I'm getting it a lot more recently I feel?
Expected Behavior
Ideally always paste on the surface, as it does most of the time.
Steps to Reproduce
Hard to say exactly, but as you can see in the gif it doesn't require any complex setup, just try to paste an entity at various camera angles on the start brush.
The text was updated successfully, but these errors were encountered: