From a8df96e232739eef028d057bfa20a0e906178808 Mon Sep 17 00:00:00 2001 From: Berenger Bramas <Berenger.Bramas@inria.fr> Date: Mon, 23 Mar 2015 18:06:58 +0100 Subject: [PATCH] Give access to attributes buffer as unsigned char and not ValueClass --- Src/GroupTree/Core/FGroupOfParticles.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Src/GroupTree/Core/FGroupOfParticles.hpp b/Src/GroupTree/Core/FGroupOfParticles.hpp index f9f771d56..2ee18f854 100644 --- a/Src/GroupTree/Core/FGroupOfParticles.hpp +++ b/Src/GroupTree/Core/FGroupOfParticles.hpp @@ -213,7 +213,12 @@ public: } /** Give access to the buffer to send the data */ - const AttributeClass* getRawAttributesBuffer() const{ + const unsigned char* getRawAttributesBuffer() const{ + return attributesBuffer; + } + + /** Give access to the buffer to send the data */ + unsigned char* getRawAttributesBuffer(){ return attributesBuffer; } -- GitLab