Page MenuHome

Bugfix T81951 - Add Cube new tool surface snaping not working
ClosedPublic

Authored by Janusch Patas (patjan) on Oct 25 2020, 11:48 PM.

Details

Summary

This is a proposal for the bug mentioned in T81951.
There was no SnapObjectContext available when the gizmo is turned off.

Diff Detail

Repository
rB Blender
Branch
T81951 (branched from master)
Build Status
Buildable 11091
Build 11091: arc lint + arc unit

Event Timeline

Janusch Patas (patjan) requested review of this revision.Oct 25 2020, 11:48 PM
Germano Cavalcante (mano-wii) requested changes to this revision.Nov 2 2020, 8:29 PM

Thanks for the patch, but the snap_context needs to be freed, which is not seen here.
This results in a memory leak :\

This revision now requires changes to proceed.Nov 2 2020, 8:29 PM

Thank you Germano. I gonna correct this tonight after work.

  • SnapObjectContext allocated memory delete code included.
This revision was not accepted when it landed; it landed in state Needs Review.Nov 10 2020, 4:19 PM
This revision was automatically updated to reflect the committed changes.

Thanks for the patch.
Committed a fix with some small changes.