-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fix world constraint issues #309
Conversation
Neat.. I noticed that |
Pretty sure its not needed |
lua/advdupe2/sv_clipboard.lua
Outdated
@@ -1076,7 +1076,7 @@ function AdvDupe2.duplicator.Paste( Player, EntityList, ConstraintList, Position | |||
undo.SetPlayer( Player ) | |||
undo.Finish() | |||
|
|||
//if(Tool)then AdvDupe2.FinishPasting(Player, true) end | |||
--if(Tool)then AdvDupe2.FinishPasting(Player, true) end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember to delete this line
@thegrb93 Any progress on this.. Tell me if I can help somehow .. |
No, I just returned from vacation and fixed some other things. Once I catch up on irl work and have time, I can continue this. If you want to help, the bug is in this function advdupe2/lua/advdupe2/sv_clipboard.lua Line 455 in 8e27851
Before two props are constrained, they are positioned/angled to their relative locations when the constraint was originally created and then constrained and then returned to their original position/angle. The problem is the world cannot be moved/angled so this fails in some cases. |
@thegrb93 Maybe this ( constraints between props and world ) will get fixed when Rubat fixed the |
This problem appears to be fixed also on the |
Ok that's good. I still need to fix the world rotation issues for other constraints. |
8e27851
to
6a51058
Compare
Will fix: #306 and fix: #187