Kristian Bendiksen
8886905fd2
#11422 Grid Ensemble: Fix copy and paste of a view.
...
Fixes #11422 .
2024-08-28 19:11:49 +02:00
Magne Sjaastad
a0ebb6e496
Add copyObject to PdmObjectHandle
...
New syntax to copy an object
auto curveCopy = curve->copyObject<RimSummaryCurve>();
Previous deprecated syntax
RimColorLegend* customLegend = dynamic_cast<RimColorLegend*>(
standardLegend->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
2024-06-14 17:18:28 +02:00
Kristian Bendiksen
174123f8b5
Refactor: rename confusing push_back method on view collections.
2024-04-17 14:34:36 +02:00
Magne Sjaastad
1da509166a
Improve CmdFeature base class
...
Add default implementation of isEnabled() and add const
2023-06-26 14:28:46 +02:00
Magne Sjaastad
59ca0b943c
Add readability-simplify-boolean-expr
...
* Add readability-simplify-boolean-expr
* Fixes based on review
2023-06-26 13:12:41 +02:00
Magne Sjaastad
f8c5cf389f
clang-format: Set column width to 140
...
* Set column width to 140
* Use c++20
* Remove redundant virtual
2023-02-26 10:48:40 +01:00
Magne Sjaastad
d4086ee371
Allow linking of contour map views
...
* Place copy of contour map in correct collection
* Allow linking of contour maps
* Improve handling of contour views and 3D views
* Guard nullptr
* Guard assert seen on Linux
* Zoom all on contour map when unlinked to reset zoom
If a contour map is linked to a 3D view, the view can get distorted. Call ZoomAll to reset to sensible defaults.
* Remove default rainbow legend
2022-11-04 15:48:25 +01:00
Gaute Lindkvist
81699db187
Rename ApplicationCode to ApplicationLibCode
2021-01-11 15:27:45 +01:00