Hi Oleg,

From what I can see in the code, QText2DEntity doesn't draw anything,
but it instead instantiates internal Qt3D Entity instances to do the
drawing.

Therefore if you set the QLayer on QText2DEntity, it won't be set on the
internal entities and won't draw.

One option might be to set the recursive property to true on your QLayer
so that setting it on QText2DEntity also makes it pickup all of its
children Entities.

I hope that helps,

Paul

On 11/17/19 2:18 AM, Oleg Evseev wrote:
> Hi,
>
> Did somebody successfully work with QText2DEntity in 3d scenes with
> QLayerFilters?
>
> Here is my project https://bugreports.qt.io/browse/QTBUG-80092.
> QText2DEntity doesn't appear.
> https://github.com/Nonmant/Qt3DExtras-QText2DEntity-Example without
> Layers works fine.
>
> This is the bug or maybe I set something wrong?
>
> Thanks in advance for any help.
>
> ---
> With regards, Oleg.
>
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest

-- 
Paul Lemire | paul.lem...@kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel: France +33 (0)4 90 84 08 53, http://www.kdab.fr
KDAB - The Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to