Changeset b0383b2 in OpenModelica


Ignore:
Timestamp:
2018-05-09T10:45:21+02:00 (6 years ago)
Author:
Adeel Asghar <adeas31@…>
Branches:
Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
Children:
57f144b7
Parents:
a86472e (diff), afcb6057 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/master' into oms

Location:
OMEdit/OMEditGUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OMEdit/OMEditGUI/OMC/OMCProxy.cpp

    r072b5c8c r881575c  
    25012501  // go through the list of links and convert them if needed.
    25022502  foreach (QString attribute, attributeMatches) {
    2503     if (attribute.startsWith("modelica://")) {
     2503    // ticket:4923 Modelica specification allows both modelica:// and Modelica://
     2504    if (attribute.startsWith("modelica://") || attribute.startsWith("Modelica://")) {
    25042505      QString fileName = uriToFilename(attribute);
    25052506#ifdef WIN32
  • OMEdit/OMEditGUI/Plotting/VariablesWidget.cpp

    re2aff3c8 rafcb6057  
    15011501        }
    15021502      }
    1503     } else if (pPlotWindow->getPlotType() == PlotWindow::PLOTPARAMETRIC) {  // if plottype is PLOTPARAMETRIC then
     1503    } else if (pPlotWindow->getPlotType() == PlotWindow::PLOTPARAMETRIC || pPlotWindow->getPlotType() == PlotWindow::PLOTARRAYPARAMETRIC) {  // if plottype is PLOTPARAMETRIC or PLOTARRAYPARAMETRIC then
    15041504      // check the item checkstate
    15051505      if (pVariablesTreeItem->isChecked()) {
     
    15351535            if (pPlotWindow->getPlotType() == PlotWindow::PLOTPARAMETRIC)
    15361536                pPlotWindow->plotParametric(pPlotCurve);
    1537             else/* ie. (pPlotWindow->getPlotType() == PlotWindow::PLOTARRAYPARAMETRIC)*/{
     1537            else /* ie. (pPlotWindow->getPlotType() == PlotWindow::PLOTARRAYPARAMETRIC)*/{
    15381538              double timePercent = mpSimulationTimeSlider->value();
    15391539              pPlotWindow->plotArrayParametric(timePercent,pPlotCurve);
     
    17721772  PlotWindow *pPlotWindow = MainWindow::instance()->getPlotWindowContainer()->getCurrentWindow();
    17731773  if (pPlotWindow) {
    1774     //PLOT, PLOTALL, PLOTPARAMETRIC, PLOTARRAY, PLOTARRAYPARAMETRIC}
    17751774    PlotWindow::PlotType plotType = pPlotWindow->getPlotType();
    1776     if (plotType == PlotWindow::PLOT ||
    1777         plotType == PlotWindow::PLOTALL ||
    1778         plotType == PlotWindow::PLOTPARAMETRIC) {
    1779       return;
    1780     }
    1781     QList<PlotCurve*> curves = pPlotWindow->getPlot()->getPlotCurvesList();
    17821775    if (plotType == PlotWindow::PLOTARRAY) {
     1776      QList<PlotCurve*> curves = pPlotWindow->getPlot()->getPlotCurvesList();
    17831777      foreach (PlotCurve* curve, curves) {
    17841778        QString varName = curve->getYVariable();
     
    17871781      }
    17881782    } else if (plotType == PlotWindow::PLOTARRAYPARAMETRIC) {
     1783      QList<PlotCurve*> curves = pPlotWindow->getPlot()->getPlotCurvesList();
    17891784      foreach (PlotCurve* curve, curves) {
    17901785        QString xVarName = curve->getXVariable();
     
    17931788        pPlotWindow->plotArrayParametric(timePercent, curve);
    17941789      }
     1790    } else {
     1791      return;
    17951792    }
    17961793  }
Note: See TracChangeset for help on using the changeset viewer.