Commit Graph

23 Commits

Author SHA1 Message Date
Inusaito Sayori
337c0d9cbb [Warnings] Remove warning suppressions for colladadom
I have fixed the warnings internally, so this wraps up my work
But our colladadom source and our prebuilds must be updated with my changes before this change is tolerable
2013-10-05 19:02:17 -04:00
Inusaito Sayori
4423bef896 [Warnings] Reduce collada includes to bare minimum to lessen Mac warnings 2013-10-05 18:33:07 -04:00
Inusaito Sayori
23e72f3978 [Warnings] Fix signed/unsigned mismatches rather than disabling 4018 2013-10-05 18:23:13 -04:00
Inusaito Sayori
e58180a59e Revert "Revert OCD commit tick."
This reverts commit 7346931f7f.
2013-09-26 04:34:55 -04:00
Latif Khalifa
3f1d05b839 Re-apply warning fix after the previous revert 2013-09-17 05:04:44 +02:00
Latif Khalifa
7346931f7f Revert OCD commit tick.
Revert "Appease VS2010 warning and make ui code more consistent with the modern standard in daeexport.cpp"

This reverts commit cb6dec62ec.
2013-09-17 04:59:25 +02:00
Inusaito Sayori
cb6dec62ec Appease VS2010 warning and make ui code more consistent with the modern standard in daeexport.cpp 2013-09-15 18:01:21 -04:00
Latif Khalifa
a2b2af6eb7 Don't pass std::string to llformat 2013-09-15 10:40:16 +02:00
Latif Khalifa
b2ae9feda0 Collada export, now with more awesome
* Added support for exporting textures
* Added support for applying texture parameters
* Added support for merging faces with same textures
* Added support for skipping transparent faces
2013-09-15 09:19:21 +02:00
Latif Khalifa
27480c1718 Issue #1049, additional checks for sculpt prims 2013-08-27 21:21:12 +02:00
Latif Khalifa
d0a6531bbf Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer 2013-08-13 02:52:47 +02:00
Aleric Inglewood
d7d361004a Allow export full perm item on opensim if it doesn't support the export bit.
This addresses
https://code.google.com/p/singularity-viewer/issues/detail?id=1003
2013-08-13 02:31:30 +02:00
Inusaito Sayori
cac18c1bc6 Typo fix: onPatialExportConfirm should be onPartialExportConfirm 2013-08-06 23:46:47 -04:00
Latif Khalifa
94947ac58d Changed license to be V3 compatible
Fixed count when stride is > 1
2013-07-31 21:53:29 +02:00
Aleric Inglewood
dcf1cdbc4e Move export permission check to LLPermissions, try two.
Removes code duplication.

Several parts of the code ignored the PERM_EXPORT but
and still did demand that things are full perm next
to being a creator. This has now changed the export
rules are the same for everything as they were for mesh:
you need to be the owner and the creator for every element
that is exported (not just the root prim, of course).
2013-07-22 22:48:42 +02:00
Aleric Inglewood
be6699198f Revert "Handle PERM_EXPORT in LLPermissions."
This reverts commit 9c71afe73e.
2013-07-22 19:49:00 +02:00
Aleric Inglewood
9c71afe73e Handle PERM_EXPORT in LLPermissions.
This moves all export test code to where it belongs:
in LLPermissions.

Added LLPermissions::allowExportBy, next to
allowModifyBy, allowCopyBy and allowMoveBy.
Then changed all code to use this call.

Because LLPermissions is part of llinventory, I had
to add a proxy for LFSimFeatureHandler.
Added a new class LFSimFeatureHandlerInterface that can be
used by LLPermissions to check simulator features by
accessing the LFSimFeatureHandler singleton.

Several parts of the code ignored the PERM_EXPORT but
and still did demand that things are full perm next
to being a creator. This has now changed the export
rules are the same for everything as they were for mesh:
you need to be the owner and the creator for every element
that is exported (not just the root prim, of course).

Export rules can now be easily made a function on
simulator features. If different rules apply for different
types (wearables, objects, mesh etc) then an extra variable
indicating the type will have to be passed though.
2013-07-22 02:22:21 +02:00
Latif Khalifa
5dc0ba1712 ColladaExport: move root library nodes outside the loope 2013-07-16 16:27:32 +02:00
Latif Khalifa
01a675de0f ColladaExport: made face transparency compatible with SL mesh import 2013-07-16 16:27:31 +02:00
Latif Khalifa
1852656661 ColladaExport: Added support for per-face materials 2013-07-16 16:27:31 +02:00
Latif Khalifa
b844b63f72 Factor out some common code when saving <source> element 2013-07-16 16:27:31 +02:00
Latif Khalifa
e0473b5292 Avoid crashing when trying to export non-volumes 2013-07-16 16:27:30 +02:00
Latif Khalifa
1c2cdd4166 Work in progress: Collada export 2013-07-15 06:38:12 +02:00