Skip to content
Snippets Groups Projects
  • Robert Meerman's avatar
    201b8271
    Corrected resource leak when adding in EDIT mode · 201b8271
    Robert Meerman authored
    Patch D10035
    
    Addon: Bolt Factory: Corrected resource leak when adding in EDIT mode
    
    Adding a bolt while in edit mode would *replace* the current object's mesh data block with a new one, and then fail to remove the original mesh data block.
    
    Now the original mesh is updated in-place, preserving its name and avoiding orphan data blocks.
    201b8271
    History
    Corrected resource leak when adding in EDIT mode
    Robert Meerman authored
    Patch D10035
    
    Addon: Bolt Factory: Corrected resource leak when adding in EDIT mode
    
    Adding a bolt while in edit mode would *replace* the current object's mesh data block with a new one, and then fail to remove the original mesh data block.
    
    Now the original mesh is updated in-place, preserving its name and avoiding orphan data blocks.