mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Store username/password in session cache
Compute UTM region before import wizard is displayed p4#: 22351
This commit is contained in:
@@ -435,9 +435,8 @@ RimOilField* RimProject::activeOilField()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimProject::computeUtmAreaOfInterest(double* north, double* south, double* east, double* west)
|
||||
void RimProject::computeUtmAreaOfInterest()
|
||||
{
|
||||
CVF_ASSERT(north && south && east && west);
|
||||
std::vector<RimCase*> cases;
|
||||
allCases(cases);
|
||||
|
||||
@@ -460,11 +459,18 @@ void RimProject::computeUtmAreaOfInterest(double* north, double* south, double*
|
||||
|
||||
if (projectBB.isValid())
|
||||
{
|
||||
*north = projectBB.max().y();
|
||||
*south = projectBB.min().y();
|
||||
double north, south, east, west;
|
||||
|
||||
*west = projectBB.min().x();
|
||||
*east = projectBB.max().x();
|
||||
north = projectBB.max().y();
|
||||
south = projectBB.min().y();
|
||||
|
||||
west = projectBB.min().x();
|
||||
east = projectBB.max().x();
|
||||
|
||||
wellPathImport->north = north;
|
||||
wellPathImport->south = south;
|
||||
wellPathImport->east = east;
|
||||
wellPathImport->west = west;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
void allCases(std::vector<RimCase*>& cases); // VL endre impl
|
||||
void createDisplayModelAndRedrawAllViews(); // VL endre impl
|
||||
|
||||
void computeUtmAreaOfInterest(double* north, double* south, double* east, double* west);
|
||||
void computeUtmAreaOfInterest();
|
||||
|
||||
RimOilField* activeOilField();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user