View Single Post
08/16/17, 01:54 AM   #7
p6kocka
Join Date: Apr 2014
Posts: 19
OK. I see.
Those are another lines from great addon "No thank you":

local function DontRotateGameCamera()

local emotesFragments = {
FRAME_PLAYER_FRAGMENT,
FRAME_EMOTE_FRAGMENT_INVENTORY,
FRAME_EMOTE_FRAGMENT_SKILLS,
FRAME_EMOTE_FRAGMENT_JOURNAL,
FRAME_EMOTE_FRAGMENT_MAP,
FRAME_EMOTE_FRAGMENT_SOCIAL,
FRAME_EMOTE_FRAGMENT_AVA,
FRAME_EMOTE_FRAGMENT_SYSTEM,
FRAME_EMOTE_FRAGMENT_LOOT,
FRAME_EMOTE_FRAGMENT_CHAMPION,
}

local blacklistedScenes = {
market = false,
crownCrateGamepad = true,
crownCrateKeyboard = true,
keyboard_housing_furniture_scene = true,
gamepad_housing_furniture_scene = true,
dyeStampConfirmationGamepad = true,
dyeStampConfirmationKeyboard = true,
}

if SV.noCameraSpin then
for name, scene in pairs(SCENE_MANAGER.scenes) do
if not blacklistedScenes[name] then
local sceneToSave = true
for _, fragmentToRemove in ipairs(emotesFragments) do
if scene:HasFragment(fragmentToRemove) then
scene:RemoveFragment(fragmentToRemove)
if sceneToSave then
sceneToSave = false
scenes[name] = scene
scenes[name].toRestore = {}
end
table.insert(scenes[name].toRestore, fragmentToRemove)
end
end
end
end
else
for name, scene in pairs(scenes) do
if scene.toRestore then
for index, fragment in ipairs(scene.toRestore) do
scene:AddFragment(fragment)
end
end
end
end

end


You can enable or disable camera zooming by clicking this option in settings. How about binding a key to this function?
  Reply With Quote