Skip to content

Commit

Permalink
Merging dev into master
Browse files Browse the repository at this point in the history
  • Loading branch information
knaquin committed Jul 21, 2017
2 parents 310dd60 + 10474e6 commit e36a1c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ossimGui/DataManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1086,10 +1086,10 @@ bool ossimGui::DataManager::intersectRays(NodeListType& nodes)

// Populate sensor model set
ossimRefPtr<ossimImageGeometry> geom = ivtg->getGeom();
if (geom != NULL)
if (geom)
{
proj.push_back(geom->getProjection());
if (proj.back() != NULL)
if (proj.back())
{
ossimSensorModel* m = dynamic_cast<ossimSensorModel*>(proj.back().get());
if(m)
Expand Down
2 changes: 1 addition & 1 deletion src/ossimGui/DataManagerWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4024,7 +4024,7 @@ bool ossimGui::DataManagerWidget::miAutoMeas(DataManager::NodeListType& nodes)
// Multi-image syncronization
void ossimGui::DataManagerWidget::miSync(ossimGui::RegPoint* syncPt, ossimRefPtr<DataManager::Node> node)
{
if (node != NULL)
if (node)
{
ossimDpt sPt(syncPt->x(), syncPt->y());
m_dataManager->syncImagesTo(sPt, node);
Expand Down

0 comments on commit e36a1c0

Please sign in to comment.