Changeset 8f2f4e


Ignore:
Timestamp:
Jul 3, 2017, 3:06:34 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Action_Thermostats, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, EmpiricalPotential_contain_HomologyGraph_documentation, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, Fix_Verbose_Codepatterns, ForceAnnealing_oldresults, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, Recreated_GuiChecks, StoppableMakroAction, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps
Children:
b52710e
Parents:
3f6aac
git-author:
Frederik Heber <frederik.heber@…> (05/12/17 21:16:49)
git-committer:
Frederik Heber <frederik.heber@…> (07/03/17 15:06:34)
Message:

FIX: GLWorldScene::removeShape() invalidated iter before delete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Views/Qt4/Qt3D/GLWorldScene.cpp

    r3f6aac r8f2f4e  
    880880  ASSERT(iter != ShapesinSceneMap.end(),
    881881      "GLWorldScene::removeShape() - shape "+_name+" not in scene.");
     882  delete(iter->second);
    882883  ShapesinSceneMap.erase(iter);
    883   delete(iter->second);
    884884
    885885  emit changed();
Note: See TracChangeset for help on using the changeset viewer.