added pragmas

This commit is contained in:
Phil Palmer 2020-12-26 23:19:21 -05:00
parent f1576aba78
commit 20e4f952ab
5 changed files with 9 additions and 1 deletions

View file

@ -68,6 +68,8 @@
#include "MovingEntitiesOperator.h"
#include "SceneScriptingInterface.h"
#pragma optimize("", off)
using namespace std;
const float DEFAULT_REAL_WORLD_FIELD_OF_VIEW_DEGREES = 30.0f;

View file

@ -16,7 +16,7 @@
#include "InterfaceLogging.h"
#include "AnimUtil.h"
#pragma optimize("", off)
MySkeletonModel::MySkeletonModel(Avatar* owningAvatar, QObject* parent) : SkeletonModel(owningAvatar, parent) {
}

View file

@ -26,6 +26,8 @@
#include "UserActivityLogger.h"
#include "ui/Keyboard.h"
#pragma optimize("", off)
void setupPreferences() {
auto preferences = DependencyManager::get<Preferences>();
auto myAvatar = DependencyManager::get<AvatarManager>()->getMyAvatar();

View file

@ -35,6 +35,8 @@
#include "IKTarget.h"
#include "PathUtils.h"
#pragma optimize("", off)
static int nextRigId = 1;
static std::map<int, Rig*> rigRegistry;
static std::mutex rigRegistryMutex;

View file

@ -20,6 +20,8 @@
#include "PhysicsLogging.h"
#include "TemporaryPairwiseCollisionFilter.h"
#pragma optimize("", off)
const float STUCK_PENETRATION = -0.05f; // always negative into the object.
const float STUCK_IMPULSE = 500.0f;