Shyotl
8ed6b549ee
A few resolutions in the dropdown in the prefrences panel were not being parsed correctly. Use standard 'x' instead of '×'
2012-10-25 20:50:42 -05:00
Shyotl
1a741b97d2
Fixed LLGLState::checkStates() failing upon context re-creation:
...
-After new context creation, immediately call LLRender::refreshState() after LLViewerWindow::initGLDefaults() in order to force states to apply.
--LLRender::initGLDefaults optimizes out gl calls by caching states, but the cached values are only applicable to the old context, not the new, so this optimization must be skipped (LLRender::mDirty).
-LLViewerWindow::mStatesDirty also triggered a redundant shader reload, since restoreGL also called setShaders().
Fixed somewhat annoying flicker of a single frame whilst recovering from screen resizing.
-Skip frame if LLViewerWindow::checkSettings() called LLViewerWindow::reshape. (reshape will set gWindowResized to true)
--True optimal fix will require some refactoring.
Reworked how window position is saved in LLViewerWindow::changeDisplaySettings. Hopefully reduces chances of odd behavior (had WindowX and WindowY get stuck at massive negative values before)
2012-10-25 20:42:58 -05:00
Shyotl
67ee544231
Clear saved raw discard level upon texfetch cleanup. (missed this in an earlier commit)
2012-10-24 03:21:51 -05:00
Shyotl
94f61ce307
A few nullchecks in the particle system. Had a null drawable pop up.
2012-10-24 03:20:32 -05:00
Shyotl
b57f7cdc79
Fixed various specular/glow effects bleeding through fullbright objects in deferred.
2012-10-24 03:19:53 -05:00
Shyotl
c901a7136f
I freaking swear LL breaks hud attachment lighting in some way every few months. *Grumble*
2012-10-23 17:24:08 -05:00
Shyotl
a5ef61ac82
Avoid std::vector::erase in particle system (erase in any sequence-independent vector is a waste as it shifts all elements to maintain element-ordering and contiguity). Replaced with swap and pop.
2012-10-22 15:46:12 -05:00
Shyotl
9e272aeef0
Still need to initialize flexis upon their very first idle update, else you get an ugly polygon soup when they first appear.
2012-10-22 15:32:33 -05:00
Shyotl
5c45979783
Resolve issue with sculpties loading with incorrect discard levels.
2012-10-22 15:26:53 -05:00
Shyotl
02f214d8a7
Clear object rebuild queues upon teleport.
2012-10-22 15:25:02 -05:00
Shyotl
5b4b9fd169
Durr, missed a line when adding attached light muting. Clobbered when diffing. Incrementing in a for loop is kinda important! Our handling in this function differes from LL in the firstplace because they are performing iteration on an iterator that can be invalid after the erase.
2012-10-22 03:17:33 -05:00
Shyotl
7dea357f4c
Picked up a few small changes from viewer-beta pertaining to pathfinding.
2012-10-22 03:08:51 -05:00
Shyotl
9ef10b1663
Muting an avatar now also removes their attached lights. Also cleaned up light update code(no change in behavior)
2012-10-22 03:07:07 -05:00
Shyotl
d2004e88f9
MatrixMode sanity checks and adjustments to physics debug display (fixes a crash with that debug view, too)
2012-10-22 03:05:18 -05:00
Shyotl
ef27cc54dd
Fixed unsafe erasure from vector while iterating in llinventorybackup.cpp.
2012-10-22 02:56:41 -05:00
Shyotl
4fe84efafd
Unbork shadow shaders by tweaking normal unpack.
2012-10-22 02:51:28 -05:00
Shyotl
ed4997168b
LLViewerObject::idleUpdate now returns void. Texture animations/flexis now have their own update queues.
2012-10-22 02:50:04 -05:00
Shyotl
413a8111c0
PASS_INVISI_SHINY never issued. Commented out some unused code.
2012-10-21 17:16:22 -05:00
Shyotl
5be31898f1
Don't compile avatar eye shader, as it isn't used anywhere.
2012-10-21 17:14:29 -05:00
Shyotl
44faf3e169
Removed annoying attribute consumption warnings. Alpha pass was leaving shader bound, which hosed up updateCull for water reflections (updateCull only binds occlusion shader if another shader isn't currently bound)
2012-10-21 17:14:00 -05:00
Shyotl
b73f4dd8e4
Catch up with viewer-beta. Primarily sim transition alterations to reduce frame hitching, and some optimization in LLViewerObjectList (std::set -> std::vector and and some allocation tweakage).
2012-10-20 17:02:43 -05:00
Shyotl
43271f290e
A few more alignment bits and bobs.
2012-10-16 20:07:04 -05:00
Shyotl
7533b475be
TCMalloc can now be manually disabled via develop.py -DDISABLE_TCMALLOC:BOOL=ON
2012-10-16 17:15:23 -05:00
Shyotl
1b89e5c973
Dragged in a bunch of alignment fixes from LL. Should allow disabling of tcmalloc on windows/linux32 if such is ever implemented.
2012-10-16 02:33:05 -05:00
Shyotl
e8ec81bf04
Experimentation with normalpacking and component precision.
2012-10-14 04:00:02 -05:00
Shyotl
eb5b1312bb
Removed pointless asset fetches for expression-based gestures (opposed to animation based ones), since they don't have actual animation assets.
2012-10-11 02:40:00 -05:00
Shyotl
ac0a32e690
Add an antispam setting to block only group invites to groups that require an entry fee.
2012-09-27 19:30:54 -05:00
Shyotl
88482a2431
An extra rendertarget is needed when fxaa dof are used in conjunction. mDeferredScreens color attachment was being used for both input and output when doing DoF combine, which is undefined behavior. Using mDeferredScreen for this works as it's no longer needed after lighting has been applied.
2012-09-26 20:45:47 -05:00
Shyotl
ff28ce8d65
Corrections of some stupids (harmless copy-paste shenanigans in this case).
2012-09-26 19:51:24 -05:00
Shyotl
16216b2ed0
Removed lscript_compile, lscript_execute, and lscript_library dependencies from newview.
2012-09-24 04:08:57 -05:00
Shyotl
9019a1eb23
Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git
2012-09-20 15:29:28 -05:00
Siana Gearz
8df7a52cf7
Merge branch 'curlthreading2' of git://github.com/AlericInglewood/SingularityViewer
...
Conflicts:
indra/llplugin/slplugin/CMakeLists.txt
2012-09-19 23:30:48 +02:00
Shyotl
9bb9292a41
Attempt to catch octree node manipulation while iterating over said nodes
2012-09-19 15:34:25 -05:00
Shyotl
438c499718
And the shader..
2012-09-19 15:34:15 -05:00
Shyotl
ff81d9461a
Added motionblur postprocess shader.
...
Conflicts:
indra/newview/skins/default/xui/en-us/floater_post_process.xml
2012-09-19 15:33:58 -05:00
Shyotl
f4f85aa1fd
Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git
...
Conflicts:
indra/newview/llviewerobject.cpp
2012-09-19 15:24:33 -05:00
Aleric Inglewood
19f325aa09
Merge remote-tracking branch 'singu/master' into curlthreading2
...
Conflicts:
indra/llcommon/CMakeLists.txt
Resolved with kdiff3 automatically.
2012-09-19 04:11:16 +02:00
Aleric Inglewood
c67f010302
Pass filename by reference when possible.
2012-09-18 05:01:34 +02:00
Siana Gearz
a7b9b0da42
Version 1.7.2
2012-09-15 21:17:16 +02:00
Siana Gearz
b0ea103c61
Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer
2012-09-15 17:05:50 +02:00
Siana Gearz
65781e6080
Make label 'Multiple' click through in texture selector
2012-09-15 08:36:38 +02:00
Siana Gearz
fc0149cdbc
Fix the Unlink button
2012-09-15 08:16:35 +02:00
Siana Gearz
3946c076fe
Oh i love our Coyotl
2012-09-15 07:34:06 +02:00
Lirusaito
10f09dc15d
Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer
2012-09-14 05:42:46 -04:00
Shyotl
53fd33604d
Apparently blendstate needs to be set back to alpha after finishing drawing wireframe.
2012-09-14 03:42:16 +02:00
Shyotl
8f9c8ee293
Disabled reundant mesh wireframe passes. Outline wireframe pass not needed if sRenderHiddenSelections is set. Also enabled backface culling for outline pass. While these changes do improve performance a bit, they also seem to fix an atioglxx.dll crash (driver bug?)
2012-09-14 02:49:28 +02:00
Shyotl
767fe92de5
Invisprims in deferred now bind the correct shader when being drawn. (Fixes vbo attrib errors)
2012-09-14 02:45:22 +02:00
Shyotl
afc7c2b449
Better robustness when loading shaders. Redundant shaders (eg: "deferred/shadowF.glsl") will only need to be compiled once, and LLShaderMgr::mShaderObjects won't have previous entries mistakenly overwritten as a result.
2012-09-14 02:33:07 +02:00
Siana Gearz
7978f5ebfe
Rebuild drawable when alpha changes
2012-09-13 06:38:36 +02:00
Lirusaito
b663110288
Fix Sound Upload not working
...
Was broken by a change in f77f846c8d
Thanks to Lucia TopHat and Tazy Scientist for helping me test and confirm all this.
2012-09-12 08:23:42 -04:00