Reprivatize the registerUpdateRenderBinFromOpacity function

This commit is contained in:
Alexander Bock
2023-04-15 10:20:39 +02:00
parent ffdcbd871d
commit 8c7beea8a4
2 changed files with 2 additions and 3 deletions

View File

@@ -141,8 +141,6 @@ protected:
// An optional renderbin that renderables can use for certain components, in cases
// where all parts of the renderable should not be rendered in the same bin
std::optional<RenderBin> _secondaryRenderBin;
void registerUpdateRenderBinFromOpacity();
private:
double _boundingSphere = 0.0;
@@ -152,6 +150,8 @@ private:
bool _automaticallyUpdateRenderBin = true;
bool _hasOverrideRenderBin = false;
void registerUpdateRenderBinFromOpacity();
// We only want the SceneGraphNode to be able manipulate the parent, so we don't want
// to provide a set method for this. Otherwise, anyone might mess around with our
// parentage and that's no bueno