Commit Graph

8 Commits

Author SHA1 Message Date
jonjenssen
bbc659799e
Surfaces: Improve UI and usability for surfaces (#6290)
* Add reload command to surface context menus. Still missing the part that actually reloads the data.

* Add additional check for null ptr to avoid crash

* Surfaces: implements reload command in context menu to reload surface data from its source (i.e. a file).
Rename function names to better show what they are actually doing
Refactor a bit to give all RimSurface subclasses the same interface for reloading data.
Also makes sure new RimGridCaseSurface instances are shown by default in the view(s)

* Fixes by clang-format

* Include offset and slice index in surface name shown in project explorer

* Allow importing the same file multiple times

* Disable lighting for surfaces, as it doesn't look good for now. Fixes #6084

* Surfaces: Remove depth offset setting from view. Add slider to depth offset edit for surface

* Create new surfaces only on collection context menu

* Make sure tree view icon is enabled/disabled when the check box is clicked

* Fix depth offset for grid case surfaces, missing base function call.

* Make public method .. public.

* Add reload command to surface context menus. Still missing the part that actually reloads the data.

* Add additional check for null ptr to avoid crash

* Surfaces: implements reload command in context menu to reload surface data from its source (i.e. a file).
Rename function names to better show what they are actually doing
Refactor a bit to give all RimSurface subclasses the same interface for reloading data.
Also makes sure new RimGridCaseSurface instances are shown by default in the view(s)

* Fixes by clang-format

* Include offset and slice index in surface name shown in project explorer

* Allow importing the same file multiple times

* Disable lighting for surfaces, as it doesn't look good for now. Fixes #6084

* Surfaces: Remove depth offset setting from view. Add slider to depth offset edit for surface

* Create new surfaces only on collection context menu

* Make sure tree view icon is enabled/disabled when the check box is clicked

* Fix depth offset for grid case surfaces, missing base function call.

* Make public method .. public.

* Fixes by clang-format

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-08-11 11:34:34 +02:00
Magne Sjaastad
0799a9cf83 #6033 Surface Properties : Add result selection object 2020-06-11 15:03:08 +02:00
Magne Sjaastad
b7fb6c4e5a Recreate object when reading file 2020-06-04 11:33:09 +02:00
Stein Inge Dale
10e4c60073 Code review, brush-up, and extended surface unit tests 2020-06-04 11:33:09 +02:00
Stein Inge Dale
e5f3a3b67d Surface Import : import of properties from TS files #5995 2020-06-04 11:33:09 +02:00
Magne Sjaastad
5fcb42210c #5379 Surface : Add alias 2020-05-04 06:32:37 +02:00
Magne Sjaastad
e0d426df12 #5379 Surface : Add depth offset to base surface class 2020-05-04 06:32:37 +02:00
Magne Sjaastad
77734b8b57 #5379 Surface : Add grid case surface 2020-05-04 06:32:37 +02:00