Skip to content

Fix segmentation fault in CLI rotation parameters#5198

Open
Cazizzle3D wants to merge 1 commit intoslic3r:masterfrom
Cazizzle3D:fix-rotation-segfault
Open

Fix segmentation fault in CLI rotation parameters#5198
Cazizzle3D wants to merge 1 commit intoslic3r:masterfrom
Cazizzle3D:fix-rotation-segfault

Conversation

@Cazizzle3D
Copy link
Copy Markdown

The --rotate, --rotate-x, and --rotate-y command line options were causing segmentation faults due to rotation functions attempting to access bounding boxes before model instances were created. This fix ensures that add_default_instances() is called before applying rotations.

Fixes the error: "Can't call raw_bounding_box() with no instances"

The --rotate, --rotate-x, and --rotate-y command line options were causing
segmentation faults due to rotation functions attempting to access bounding
boxes before model instances were created. This fix ensures that
add_default_instances() is called before applying rotations.

Fixes the error: "Can't call raw_bounding_box() with no instances"
@AppVeyorBot
Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants