mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Feature/numeric slider updates (#1609)
* Remove Logarithmic ViewOption and instead always use exponent of NumericalProperty + set exponent of some renderables' properties * Add MinMaxRange ViewOption for Vec2 properties * Add MinMaxRange viewoption to some existing vec2 properties and combine some other related properties to be able to utilize it. For example Min and Max label sizes, fade in/out distances, inner and outer radius. OBS! Includes renaming several properties (**breaking change**) * Refactor and document labels code. OBS! Includes renaming several properties (**breaking change**) * Add comments for some assets that have labels that are not working correctly Renderables with rename properties: RenderableLabels , GlobeLabelsComponent, RenderableBillboardsCloud, RenderableDUMeshes, RenderableRadialGrid )
This commit is contained in:
@@ -136,6 +136,7 @@ RenderableHabitableZone::RenderableHabitableZone(const ghoul::Dictionary& dictio
|
||||
// The user should not be able to change this property. It's just used to communicate
|
||||
// the different rendering that happens outside of this interval
|
||||
addProperty(_kopparapuTeffInterval);
|
||||
_kopparapuTeffInterval.setViewOption(properties::Property::ViewOptions::MinMaxRange);
|
||||
_kopparapuTeffInterval.setReadOnly(true);
|
||||
|
||||
// Make parent's size related properties read only. We want to set them based on the
|
||||
|
||||
Reference in New Issue
Block a user