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

Crash after trying to paste the mirror of a construction #917

Open
someSven opened this issue Jan 31, 2021 · 6 comments
Open

Crash after trying to paste the mirror of a construction #917

someSven opened this issue Jan 31, 2021 · 6 comments

Comments

@someSven
Copy link

System information

  • **SolveSpace version:3.0~3e3ccdca
  • **Operating system:Raspian

Expected behavior

Pasting the mirror of a construction. Only some lines, including a bezier line, and some constraints.

Actual behavior

Programms crashed and window disappeared.

Additional information

Shell:
Generate::ALL (for bounding box) took 90 ms
Generate::ALL took 91 ms
File ./src/dsc.h, line 479, function FindById:
Assertion failed: t != NULL.
Message: Cannot find handle.
Aborted

thighV2_front-outer.slvs.zip

@phkahler
Copy link
Member

It would be helpful to know which group and which entites you tried to paste so we can reproduce the crash. I was able to copy and paste-transformed the entire g002 sketch with the "flipped" checkbox so it was reversed. Not sure copy paste is really a thing in a 3D group, but if that's what you tried to do it should at least not crash...

@ruevs
Copy link
Member

ruevs commented Feb 1, 2021

I can not cause it to crash either. I even did Sketch | In Workplane in group g003-revolve, Ctrl-A, Ctrl-C, Ctrl-T and it still works (does stupid things of course, but does not crash).

@someSven
Copy link
Author

someSven commented Feb 1, 2021

Ah, I cut it, instead of copying. Because I didn't need the old construction, just wanted it to be on the other side. With copy it works, even into a new workplane.

@ruevs
Copy link
Member

ruevs commented Feb 1, 2021

Aha with cut -> paste transformed it crashes!
Ufff this is tricky...

Request *r = SK.GetRequest(hr);

@vespakoen
Copy link
Contributor

That looks tricky indeed, maybe a good solution is to disable paste transformed when the selection was cut and add a "Transform" option that works like paste transformed but does a copy itself and deletes the original selection when it's done.

@phkahler
Copy link
Member

Related to #808.

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