summaryrefslogtreecommitdiff
path: root/indra/newview/llvlcomposition.h
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2024-08-16 17:27:57 -0700
committerCosmic Linden <cosmic@lindenlab.com>2024-10-11 10:39:22 -0700
commit642ace3c75d08cc55370374f5a091f0c8ff41a4c (patch)
treefa5e7baafa5fd2b23aff361700ee312bc9be759f /indra/newview/llvlcomposition.h
parentf1d892ecd1383ce2d774a2dcf92209951f79f63e (diff)
secondlife/viewer#1883: (WIP) (not yet working) Brush queue
Diffstat (limited to 'indra/newview/llvlcomposition.h')
-rw-r--r--indra/newview/llvlcomposition.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llvlcomposition.h b/indra/newview/llvlcomposition.h
index 3f1124a8ac..9a5d74adda 100644
--- a/indra/newview/llvlcomposition.h
+++ b/indra/newview/llvlcomposition.h
@@ -90,6 +90,10 @@ public:
void setPaintType(U32 paint_type) { mPaintType = paint_type; }
LLViewerTexture* getPaintMap();
void setPaintMap(LLViewerTexture* paint_map);
+ // Queue of client-triggered brush operations that need to be converted
+ // into a form that can be sent to the server.
+ // TODO: Consider getting rid of mPaintRequestQueue, as it's not really needed (brushes go directly to RGB queue)
+ LLTerrainBrushQueue& getBrushQueue() { return mBrushQueue; }
// Queue of client-triggered paint operations that need to be converted
// into a form that can be sent to the server.
// Paints in this queue are in RGBA format.
@@ -116,6 +120,7 @@ protected:
U32 mPaintType = TERRAIN_PAINT_TYPE_HEIGHTMAP_WITH_NOISE;
LLPointer<LLViewerTexture> mPaintMap;
+ LLTerrainBrushQueue mBrushQueue;
LLTerrainPaintQueue mPaintRequestQueue{U8(4)};
LLTerrainPaintQueue mPaintMapQueue{U8(3)};
};