Cura/plugins/SimulationView
Ghostkeeper 71b217c624
Fix colour calculations if spectrum is entirely one value
If the range of the colour spectrum is 0, i.e. there is only one value for the current colour spectrum, then this would previously give a division by 0 in the shader, causing the final colour to become black. This is unexpected and makes the layer view hard to read. Instead, we'll now use the middle of the range then.
This was likely a problem for a long time but only really became visible due to the colour spectrum now showing only the range of values for the visible structures. Previously it was a problem e.g. for layer thickness if all layers had the same thickness (i.e. initial layer height == layer height).
2021-04-03 17:29:33 +02:00
..
resources Make UI changes in the Simulation View for adapting the color gradient 2017-11-26 21:21:18 +01:00
__init__.py No longer create two instances of the setting view. 2018-11-05 11:48:19 +01:00
layers.shader Format spacing 2020-05-07 14:10:45 +02:00
layers3d.shader Fix colour calculations if spectrum is entirely one value 2021-04-03 17:29:33 +02:00
layers3d_shadow.shader Layerview can now deal with visibility extruder nrs. 4+ 2020-05-06 18:03:32 +02:00
layers_shadow.shader Layerview can now deal with visibility extruder nrs. 4+ 2020-05-06 18:03:32 +02:00
LayerSlider.qml Cleanup: remove warnings for non-existing margins 2019-11-12 14:51:48 +01:00
NozzleNode.py Remove a bunch of unused imports 2019-11-08 13:38:42 +01:00
PathSlider.qml Update simulation slider handle position after width change 2019-10-28 09:59:30 +01:00
plugin.json Up the SDK version to 7.4.0 2020-10-22 11:29:25 +02:00
SimulationPass.py Fix layer view being greyed out after reslicing gives same current layer 2021-03-06 15:48:32 +01:00
SimulationSliderLabel.qml Refactor: simplify SimulationSliderLabel font metrics 2019-11-12 14:56:56 +01:00
SimulationView.py Fix accidentally always taking 0th line along 2021-04-03 17:19:24 +02:00
simulationview_composite.shader GLES shader fixes 2018-03-29 21:07:51 +02:00
SimulationViewMainComponent.qml Fix QML warnings due to depricated on<signal> calls in Connections 2021-03-30 09:02:48 +02:00
SimulationViewMenuComponent.qml Update colour scheme limits if visibility changed the limits 2021-04-03 16:49:04 +02:00
SimulationViewProxy.py Update colour scheme limits if visibility changed the limits 2021-04-03 16:49:04 +02:00