Skip to content

Commit

Permalink
Update point cloud layer 3d renderer when Follow 2d symbology is enab…
Browse files Browse the repository at this point in the history
…led and a class is toggled in the layer tree
  • Loading branch information
uclaros committed Feb 17, 2024
1 parent 2c58769 commit 3e1e7c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/layertree/qgslayertreemodellegendnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,9 @@ bool QgsRasterSymbolLegendNode::setData( const QVariant &value, int role )
pclayer->emitStyleChanged();

pclayer->triggerRepaint();
if ( pclayer->sync3DRendererTo2DRenderer() )
pclayer->convertRenderer3DFromRenderer2D();

return true;
}
else
Expand Down

0 comments on commit 3e1e7c5

Please sign in to comment.