summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/Timeline/Bindings/Qt3DSDMTimelineTimebar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Studio/Palettes/Timeline/Bindings/Qt3DSDMTimelineTimebar.cpp')
-rw-r--r--src/Authoring/Studio/Palettes/Timeline/Bindings/Qt3DSDMTimelineTimebar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Authoring/Studio/Palettes/Timeline/Bindings/Qt3DSDMTimelineTimebar.cpp b/src/Authoring/Studio/Palettes/Timeline/Bindings/Qt3DSDMTimelineTimebar.cpp
index 0cf78a30..0ecefefd 100644
--- a/src/Authoring/Studio/Palettes/Timeline/Bindings/Qt3DSDMTimelineTimebar.cpp
+++ b/src/Authoring/Studio/Palettes/Timeline/Bindings/Qt3DSDMTimelineTimebar.cpp
@@ -61,7 +61,7 @@ Qt3DSDMTimelineTimebar::Qt3DSDMTimelineTimebar(
qt3dsdm::SValue theValue;
if (m_PropertySystem->GetInstancePropertyValue(
m_DataHandle, theClientDataModelBridge->GetSceneAsset().m_TimebarColor, theValue)) {
- qt3dsdm::SFloat3 theTimebarColor = qt3dsdm::get<qt3dsdm::SFloat3>(theValue);
+ qt3dsdm::SFloat4 theTimebarColor = qt3dsdm::get<qt3dsdm::SFloat4>(theValue);
m_Color.SetRGB(static_cast<int>(theTimebarColor.m_Floats[0] * 255.0f),
static_cast<int>(theTimebarColor.m_Floats[1] * 255.0f),
@@ -90,7 +90,7 @@ void Qt3DSDMTimelineTimebar::OnPropertyChanged(qt3dsdm::Qt3DSDMInstanceHandle in
if (m_PropertySystem->GetInstancePropertyValue(
m_DataHandle, theClientDataModelBridge->GetSceneAsset().m_TimebarColor,
theValue)) {
- qt3dsdm::SFloat3 theTimebarColor = qt3dsdm::get<qt3dsdm::SFloat3>(theValue);
+ qt3dsdm::SFloat4 theTimebarColor = qt3dsdm::get<qt3dsdm::SFloat4>(theValue);
m_Color.SetRGB(static_cast<int>(theTimebarColor.m_Floats[0] * 255.0f),
static_cast<int>(theTimebarColor.m_Floats[1] * 255.0f),