Some sandbox references I was missing

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-06-29 16:54:30 -07:00
parent d14229c67e
commit d6caff7842
5 changed files with 5 additions and 5 deletions
@@ -60,7 +60,7 @@ namespace {
// compilers actually warn on this fact.
// A static_cast is used here to indicate explicit acceptance of the value change here
/* The clang compiler warning is below
../Code/Sandbox/Editor/Controls/ReflectedPropertyControl/ReflectedVarWrapper.cpp:59:38: error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Werror,-Wimplicit-int-float-conversion]
../Code/Editor/Controls/ReflectedPropertyControl/ReflectedVarWrapper.cpp:59:38: error: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Werror,-Wimplicit-int-float-conversion]
reflectedVar->m_maxVal = std::numeric_limits<int>::max();
*/
reflectedVar->m_maxVal = static_cast<float>(std::numeric_limits<int>::max());
@@ -155,7 +155,7 @@ OutlinerWidget::OutlinerWidget(QWidget* pParent, Qt::WindowFlags flags)
settingsRegistry->Get(engineRootPath.Native(), AZ::SettingsRegistryMergeUtils::FilePathKey_EngineRootFolder);
}
QDir rootDir = QString::fromUtf8(engineRootPath.c_str(), aznumeric_cast<int>(engineRootPath.Native().size()));
const auto pathOnDisk = rootDir.absoluteFilePath(QStringLiteral("Code/Sandbox/Plugins/ComponentEntityEditorPlugin/UI/Outliner/"));
const auto pathOnDisk = rootDir.absoluteFilePath(QStringLiteral("Code/Plugins/ComponentEntityEditorPlugin/UI/Outliner/"));
const auto qrcPath = QStringLiteral(":/EntityOutliner/");
// Setting the style sheet using both methods allows faster style iteration speed for
@@ -158,7 +158,7 @@
</widget>
</widget>
<resources>
<include location="../../../../Sandbox/Editor/MainWindow.qrc"/>
<include location="../../../../Editor/MainWindow.qrc"/>
</resources>
<connections>
<connection>
@@ -1168,7 +1168,7 @@ namespace AZ::AtomBridge
dir
);
lines.AddLineSegment(ToWorldSpacePosition(pos), ToWorldSpacePosition(pos + dir * (radius * 0.2f))); // 0.2f comes from Code\Sandbox\Editor\Objects\DisplayContextShared.inl DisplayContext::DrawWireDisk
lines.AddLineSegment(ToWorldSpacePosition(pos), ToWorldSpacePosition(pos + dir * (radius * 0.2f))); // 0.2f comes from Code\Editor\Objects\DisplayContextShared.inl DisplayContext::DrawWireDisk
lines.Draw(m_auxGeomPtr, m_rendState);
}
}
@@ -34,7 +34,7 @@ namespace LevelBuilder
AZ::u64 readXmlDataLength(AZ::IO::GenericStream* stream, int& charSize)
{
// This code is replicated from readStringLength method found in .\dev\Code\Sandbox\Editor\Util\EditorUtils.h file
// This code is replicated from readStringLength method found in .\dev\Code\Editor\Util\EditorUtils.h file
// such that we do not have any Cry or Qt related dependencies.
// The basic algorithm is that it reads in an 8 bit int, and if the length is less than 2^8,
// then that's the length. Next it reads in a 16 bit int, and if the length is less than 2^16,