Commit Graph

187 Commits (9edad026f4494de1a6f02ecc3f477faa27a361ef)

Author SHA1 Message Date
Mnikolenko ProductEngine 89321a56fd increment viewer version to 3.7.29 2015-04-28 12:03:31 +03:00
andreykproductengine 1dd7e76908 Merge with viewer-release and become 3.7.28 2015-04-14 18:53:17 +03:00
Oz Linden a8ef252571 merge changes for 3.7.27-release 2015-04-13 16:23:36 -04:00
ruslantproductengine 802302a31c MAINT-3818 FIXED Certain dae files that used to display skin weights successfully now crash when ticking skin weights in model preview on ALL viewers 2015-03-26 18:05:47 +02:00
Nicky 006190f2a1 Merge with tools update. 2015-05-05 13:09:27 +02:00
Ansariel 9be423524d Merge LL V3.7.27 2015-04-14 22:08:31 +02:00
Oz Linden 23ec889631 changes to fix compiler warnings merged in from viewer-release 2015-01-13 14:54:35 -05:00
Brad Payne (Vir Linden) 7e962d3798 merge 2014-12-08 13:01:44 -05:00
ruslantproductengine b3c8a559f6 MAINT-3494 FIXED Generate Normals checkbox does not control generation of normals. 2014-11-28 18:17:54 +02:00
Graham Linden a882d7a02b Fix for gpu_bench crash without parallels knock-on 2014-11-18 12:54:13 -08:00
ruslantproductengine 799d13269a MAINT-3585 FIXED Viewer Crashes when attempting to upload image.
The bug was fixed, the reasone of crash is following. The Core Flow view
contain another GL context and will not care about restoring a previous.
I restore context manually.
This path also contain a minor changes in another files.

All changes described here.

Сhange's for fix current bug.
indra/llwindow/llwindow.h
indra/llwindow/llwindowheadless.h
indra/llwindow/llwindowmacosx.h
indra/llwindow/llwindowsdl.h
indra/llwindow/llwindowwin32.h
indra/newview/lllocalbitmaps.cpp
indra/newview/llviewerdisplay.cpp
indra/newview/llviewerdisplay.h

Twice mUsage initialization (replace to forward initialization).
indra/llcharacter/lljointstate.h

Looks like condition should be befor memcopy call, otherwise - possible CRASH.
indra/llcommon/llmd5.cpp

Unused condition and variables.
indra/llmath/llsphere.cpp

Looks like should be under if otherwise - possible CRASH
indra\llprimitive\llmodel.cpp

Useless assert's.
indra/llrender/llrender.cpp
indra/newview/lldaycyclemanager.cpp
2014-11-03 20:05:20 +02:00
ruslantproductengine b008385a50 FIRE-12732/MAINT-3585 FIXED Viewer Crashes when attempting to upload image
on OS X.
The bug was fixed, the reasone of crash is following. The Core Flow view
contain another GL context and will not care about restoring a previous.
I restore context manually.
This path also contain a minor changes in another files.

All changes described here.

Change's for fix current bug.
indra/llwindow/llwindow.h
indra/llwindow/llwindowheadless.h
indra/llwindow/llwindowmacosx.h
indra/llwindow/llwindowsdl.h
indra/llwindow/llwindowwin32.h
indra/newview/lllocalbitmaps.cpp
indra/newview/llviewerdisplay.cpp
indra/newview/llviewerdisplay.h

Twice mUsage initialization (replace to forward initialization).
indra/llcharacter/lljointstate.h

Looks like condition should be befor memcopy call, otherwise - possible CRASH.
indra/llcommon/llmd5.cpp

Unused condition and variables.
indra/llmath/llsphere.cpp

Looks like should be under if otherwise - possible CRASH
indra\llprimitive\llmodel.cpp

Useless assert's.
indra/llrender/llrender.cpp
indra/newview/lldaycyclemanager.cpp
2014-11-03 20:05:20 +02:00
Ansariel cfc3d0ce8f A collection of fixes provided by Cinder Roxley 2015-02-28 17:35:52 +01:00
Ansariel e52d57cba2 Merge LL V3.7.23 2015-01-15 15:44:43 +01:00
Ansariel 48fc17d6e1 Merge LL V3.7.16 2015-01-14 17:36:30 +01:00
Ansariel a45088cb6b Merge LL V3.7.11 2015-01-12 12:54:15 +01:00
Mnikolenko ProductEngine 79212e759b MAINT-4533 FIXED viewer crash when uploading shiprigging88b.dae 2014-10-20 11:11:45 +03:00
Nicky edc844a74b FIRE-12216; Make sure a model loaded from some DAE always has vertex normals. 2014-10-14 00:40:09 +02:00
Mnikolenko ProductEngine d7db567f27 MAINT-4545 FIXED simplebot.dae rigged mesh no longer uploads 2014-10-09 17:30:59 +03:00
Mnikolenko ProductEngine fa4fdedf51 MAINT-4545 FIXED simplebot.dae rigged mesh no longer uploads 2014-10-09 13:10:16 +03:00
Richard Linden e298325bed MAINT-4481 FIX [viewer-lion] Linux build fails due array-bounds issue in llmanipscale.cpp
This was an out of bounds array access on a code path not normally accessed
To test, set debug setting ScaleShowAxes to true, go into build mode, and hold down Ctrl+Shift to scale an object
There should be colored bars along the scale axes, limited to the bounds of the object's extents
2014-09-23 19:12:35 -07:00
Graham Linden 297aefd933 Merge up to 3.7.15 and fix many deprecated logging statements skipped by flickrfolk 2014-08-29 11:29:37 -07:00
Graham Linden 76e7f978c1 Merge viewer up to 3.7.12, including fixing missed LL_WARNS etc from last release (is that trout you smell on the air? is it?) 2014-07-07 17:59:07 -07:00
simon bfa42c9e28 Merge downstream code and become 3.7.12 2014-07-07 16:17:53 -07:00
Mnikolenko ProductEngine c464a11958 MAINT-4123 FIXED return LLModel::BAD_ELEMENT for mesh with empty tex coords array 2014-06-06 11:44:58 +03:00
Ricky Curtice 98720c3cec Merge 2014-06-05 06:31:30 -07:00
Graham Linden a815ad481a Mergeup to 3.7.9 viewer-release 2014-05-29 04:54:58 -07:00
simon 250db74bf9 Pull and merge viewer-release as version 3.7.8 2014-05-07 10:56:41 -07:00
Oz Linden a98b4b6bee merge changes for 3.7.7-release 2014-05-07 11:09:04 -04:00
Graham Linden ae035a0d66 Modify importer to (optionally) improve debug output, perform name-based LOD association, and handle models with many materials. 2014-04-22 08:58:38 -07:00
Oz Linden 776aadf4ef OPEN-199: replace the confusing STANDALONE switch with USESYSTEMLIBS 2014-03-19 17:30:07 -04:00
Tank_Master 6095a2072d more deprecated call fixes (llmsg -> LL_MSG() / llendl -> LL_ENDL) 2014-06-10 08:01:16 -07:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Dave Parks 7ce5dc613d MAINT-3661 Fix for crash when uploading corrupt .dae file. 2014-01-27 16:09:07 -06:00
Dave Parks 27044252fc MAINT-3661 Fix for crash when uploading corrupt .dae file. 2014-01-27 16:09:07 -06:00
Richard Linden 80dfbbaacd merge from viewer-release 2013-10-08 11:59:24 -07:00
Graham Linden 29216ac5e7 MAINT-3179 fix bad indexing of position info generating false alarms on range checks, issue with free of data now allocated contig with positions instead, and added copious amounts of llwarns to error return sites so 'invalid element' will be a reason to read the log and not a tease. 2013-09-23 13:43:01 -07:00
Graham Linden 0e3ad3e94b MAINT-3153 fix potential mis-indexing in DAE loading checks 2013-09-16 12:11:58 -07:00
Graham Linden d38bcb6621 MAINT-2388 replace stomped fix to not crash when handed bogus model data 2013-09-16 09:40:58 -07:00
Xiaohong Bao d8c02bf062 Merge 2013-08-19 16:09:28 -06:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
simon 5687b0c4df Merge 2013-05-09 15:30:49 -07:00
simon ee2fce8790 Merge downstream code and viewer-beta 2013-05-09 14:10:45 -07:00
simon c7f7c4bc4d Merge viewer-beta 2013-05-09 13:14:49 -07:00
Dave Parks dbfcd6c9c5 Optimization -- don't draw glow in alpha pool unless needed 2013-05-07 17:20:33 -05:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Graham Madarasz (Graham) 4b67d34c7e Remove redundant data validation copy-pasted into normals loop 2013-03-07 15:45:29 -08:00
Graham Madarasz (Graham) 2e8b2558b4 For MAINT-2436 and MAINT-2388 contribs from STORM-1935 and STORM-1936 2013-03-07 14:13:14 -08:00
Graham Madarasz 1816582b92 Fix crashes from using single alloc for pos/norm/tc in volume face data fighting with old free call in model loading code 2013-03-06 09:09:07 -08:00
Tank_Master 119ce81029 Merge viewer bear updates + merge fixes 2013-09-23 22:10:59 -07:00
Tank_Master e8380dbc99 Merge viewer-bear (translations and avatar muting changes) 2013-09-19 00:03:46 -07:00
Tank_Master 52d9b07503 Merge viewer-bear 2013-09-12 21:15:34 -07:00
Tank_Master 831e4f443b Merge LL 3.6.3 pass 1 2013-08-26 17:09:27 -07:00
Ansariel 992118ffc9 Backout fcb3339cfe08 (mesh deformer) for testing; might cause memory leak 2013-08-10 01:15:44 +02:00
Cinders 0723683e83 Added Karl Stiefvater's mesh deformer, patch contributed by Inworldz LLC, updated for post-SSA Firestorm
*Only OpenSim enabled at this point
2013-07-11 13:31:12 -06:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Dave Parks 968567346a MAINT-1028 Fix for gcc 2012-12-11 17:56:01 -06:00
Dave Parks a073fa4009 MAINT-1028 Fix for crash when importing meshes produced by FBX converter 2012-12-11 16:27:58 -06:00
Nicky 26bf0f4c3d FIRE-9394; Do not access arrays beyond their end when loading a malformed dae file. 2013-03-07 06:28:01 +01:00
Nicky e412b7e10f FIRE-9251; make sure there's no iterator used out of the maps valid range. 2013-02-18 23:11:03 +01:00
Nicky c5c358b03b FIRE-8139/BUG-670 filter out models with invalid data in them. 2012-11-23 14:33:15 +01:00
Oz Linden 97d969a338 initial attempt to restore changes that make removing tcmalloc possible; not tested 2012-09-12 14:36:37 -04:00
William Todd Stinson a766e26db4 Backing out the changes contributing to DRTVWR-167 and DRTVWR-179 from the repository. 2012-09-10 10:37:02 -07:00
Brad Payne (Vir Linden) 0b16411d30 assert fix for mempyNonAliased16 call 2012-01-26 14:07:37 -05:00
Richard Linden d089e6c264 bumped up MSVC warning level to 3 to catch more stuff that gcc catches 2011-11-28 19:16:49 -08:00
prep linden 2df669c402 Log error message if material list is not a subset of reference model 2011-08-30 10:46:41 -04:00
prep linden 71ac45a28b Handling of material mismatches - lod materials are required to be a subset of the high lod, introduced addEmptyFace() for when parity does not exist between model material counts 2011-08-30 09:32:16 -04:00
prep df94d0c778 Fixes for sh-2039, sh-1336, and sh-2044. Vertices were having incorrect weights assigned. 2011-08-03 17:01:34 -04:00
prep 7fc12cd43d Fix for sh-2044, sh-2039 and sh-2166 (Avatar weights were sometimes not correctly applied upon import. 2011-07-28 16:09:17 -04:00
prep c37603d9ce fix for sh-1847: Removed assert when a vert is outside [-5,5] domain 2011-07-20 14:05:13 -04:00
Dave Parks 561d40d5c3 SH-715 Disable simplify/analyze button while counterpart is executing. 2011-07-14 01:07:01 -05:00
Dave Parks dc7100a63f SH-2008 Fix for crash when generating normals on objects with no texture coordinates. 2011-07-08 23:21:51 -05:00
Dave Parks 2a6e18d147 SH-1774 Fix for preserving material assignments between multiple custom LoDs. 2011-07-07 18:32:42 -05:00
Dave Parks 9b253ccf68 SH-1972 Fix for slm messing up physics shape on second upload. 2011-07-06 19:27:43 -05:00
Dave Parks 71eb68a85d Fix for "set to default" button not resetting some data. 2011-07-06 18:54:50 -05:00
Dave Parks 12e08417bf SH-1169 Fix for convex decompositions not working post mesh-asset-deprecation work. (also default SLM usage to on) 2011-06-28 12:41:12 -05:00
Xiaohong Bao f83b08b69c fix for SH-1878: Viewer hang in GLOD_Group::adaptTriangleBudget during LLModelPreview::genLODs;
SH-1891: viewer crashes while previewing "RYOMA 3D XML File.dae";
SH-1890: Crash loading palm tree
2011-06-24 15:09:10 -06:00
Dave Parks b0fdc44951 SH-1815 Fix for crash when using old version slm 2011-06-22 16:08:23 -05:00
Dave Parks ce02ed3118 SH-1880 partial fix for crashing on daes without UVs. 2011-06-20 18:55:30 -05:00
Dave Parks 27fb647fd1 merge 2011-06-18 01:02:25 -05:00
Dave Parks 15235061e8 SH-828 Fix for using uninitialized data when normals or texture coordinates are absent from collada file (can now upload meshes without normals or texture coordinates). 2011-06-18 01:02:03 -05:00
Xiaohong Bao 0bb7bcc96c fix for SH-1788: Assert in texture load when uploading textured mesh model
and beyond: fixed the thread-safe and highest texture resolution flaws in the mesh texture uploading flow.
2011-06-15 16:20:33 -06:00
Dave Parks 44f0a1b681 SH-1778 Physics shape display fix up. 2011-06-11 16:51:01 -05:00
Dave Parks ca5a87b819 merge 2011-06-08 15:59:11 -05:00
prep linden dbd619508b Fix for importer crashes, sh-1698. Added checks for handling bad elements in the dae. 2011-06-07 16:53:29 -04:00
Dave Parks faf9693be3 Make basehull assert even more forgiving (only error out on 10% over bounds). 2011-06-07 00:10:24 -05:00
Dave Parks a58e70261e SH-101 Fix for asset when uploading some models. 2011-06-06 19:27:47 -05:00
Dave Parks 9793f6c51d Add "NoGeometry" identifier support to viewer. 2011-06-06 16:54:15 -05:00
Dave Parks f4722b3905 merge 2011-06-03 00:15:56 -05:00
Dave Parks 3a409e6edc SH-1603 Replace every occurrence of "WTF" with something more appropriate. 2011-05-25 18:45:21 -05:00
Brad Payne (Vir Linden) 9d80bee277 merge 2011-05-25 16:09:46 -04:00
Xiaohong Bao f5726a094d fix for
SH-712:Asset error given on upload of duck.dae using High LOD for physics shape - Analyze seems to not complete;
SH-889: Viewer crash when analyzing physics LOD;
SH-890: Viewer crash on Exit after analyzing physics layer which never seems to complete
2011-05-24 17:36:06 -06:00
Dave Parks 10c45691c7 merge 2011-05-18 13:41:38 -05:00
Dave Parks e237f5733c SH-914 Fix for normals getting screwed up by non-uniform model normalization. 2011-05-18 01:30:21 -05:00
Dave Parks 3acc3d39f0 Put back "PositionDomain" and "Min"/"Max" on convex decomposition. 2011-05-11 19:13:18 -05:00
Dave Parks ca0a568264 SH-1497 Don't upload physics mesh if decomposition exists. 2011-05-05 18:33:03 -05:00
Dave Parks 3c516973f3 SH-1497 "Positions" not "Position" for convex decomp. 2011-05-05 17:12:41 -05:00
Dave Parks 9cb31845ba SH-1497 Update mesh asset parser to use new format restrictions. 2011-05-04 20:45:14 -05:00
Xiaohong Bao d7954ba38f fix for SH-688: Viewer crash when uploading a large .dae file and clicking the X button in upper right hand corner of the upload model floater on Mac Build 2011-04-29 15:23:03 -06:00
Dave Parks 764412f9b5 merge 2011-04-22 11:50:19 -05:00