Robert Osfield
9147d30515
Fixed osgWidget event handling
2021-02-18 16:14:49 +00:00
Nelsson Huotari
2415a8d138
Use c-locale with std::istream
2021-01-23 15:58:01 +00:00
Robert Osfield
df901fba7a
Fixed warnings
2021-01-18 16:34:16 +00:00
Robert Osfield
e8a9064eac
Added 0 to end of array.
2021-01-18 15:39:45 +00:00
Robert Osfield
ce5efa9505
Merge pull request #1027 from glebm/fix-windowing-system
...
Fix osgViewer `USE_GRAPHICSWINDOW` without a windowing system
2021-01-18 14:47:47 +00:00
Robert Osfield
657842d60b
Merge pull request #1023 from ankurverma85/master
...
Fix Duplicate symbols when linking OSG as a static library
2021-01-18 14:07:21 +00:00
Gleb Mazovetskiy
0968256923
Fix osgViewer USE_GRAPHICSWINDOW
without a windowing system
...
There is no way for the user to know whether OSG was compiled with a
windowing system.
This means calling USE_GRAPHICSWINDOW() in client libraries was unsafe
in the case of the "None" windowing system, as it would fail to link.
Turns the call into a no-op in that case.
2021-01-14 21:44:42 +00:00
ankurverma85
565da2467b
Update unzip.cpp
2021-01-13 14:01:00 -08:00
Glenn Waldron
ebca7bb462
Fix for #1013 - Texture2DArray fails to regenerate after a releaseGLObjects/dirtyTextureObject - remove the modified count condition on component images when subloading when there is no texture object
2020-12-24 10:32:44 -05:00
Hannes Pabst
6d4f808434
fix variable name "delimiter"/compilation for win32
2020-11-17 08:13:57 +01:00
Robert Osfield
ec79ef6f79
Merge pull request #979 from matthew-reid/supportSrgbTextureFormats
...
sRGB compressed texture formats are now supported
2020-11-10 16:03:35 +00:00
Robert Osfield
0c029c8840
Merge branch 'master' into patch-3
2020-11-10 15:49:52 +00:00
Robert Osfield
324750fded
Changed to using Node::accept() to handled children of Geode/Billboard to enable scene graphs with non drawables as children
2020-11-10 15:26:21 +00:00
Robert Osfield
75f77dec64
Merge branch 'master' into build/windows_clang
2020-11-10 14:34:40 +00:00
Robert Osfield
3572199cb8
Moved GLExtensions changes from 3.6 branch into master
2020-11-10 12:50:58 +00:00
Robert Osfield
cc835694e3
Merge pull request #955 from timoore/extension-observer-ptr
...
Fix GLExtensions static order of deletion bug
2020-11-10 11:14:47 +00:00
Alberto Luaces
d64ad2e654
Code comments, log strings and some variable spell fixes.
2020-10-28 17:05:06 +01:00
Matthew Reid
6d207e2d8d
Added support for sRGB texture formats
2020-10-12 15:13:38 +11:00
Robert Osfield
e0d5e4b0ff
Fixed warnings reported by gcc-9.3.0
2020-08-26 15:19:23 +01:00
Ralf Habacker
64cb9cfa15
Use new method supportsEnvironment() from class ReaderWriter in client code
2020-08-19 12:03:42 +01:00
Ralf Habacker
b0a25ce364
Add support for showing environment variables provided by osg plugins
2020-08-19 12:03:42 +01:00
Conrad Poelman
67468cce34
Declare "result" as LONG for Mingw build
...
Win32's ChangeDisplaySettingsEx() API function is documented as returning `LONG`, which evidently is not always the same as `unsigned int` (Mingw64.)
This cause a compile error on Mingw with clang10.
2020-08-03 18:26:24 -04:00
MeyerFabian
07836619b2
Enabled windows clang builds.
2020-07-17 18:01:05 +02:00
Robert Osfield
d5225ea534
Selected USE_NEW_DELETE allocation mode to fix memory leak
2020-07-09 10:15:37 +01:00
OpenSceneGraph git repository
27f400bb94
Merge pull request #957 from dan-t/camera_callback_fixes
...
Fix camera callbacks of OcclusionQueryNode
2020-06-04 07:57:56 +01:00
Calum Robinson
6985f45882
Return early in osgText::Text property setters
...
Matches what the rest of the properties are doing & avoids unnecessary
computation.
2020-05-29 11:03:56 +01:00
Daniel Trstenjak
3fc3dcbb56
OcclusionQueryNode: don't override existing callbacks in camera
2020-05-26 19:05:42 +02:00
Tim Moore
97f955b2d4
Fix GLExtensions static order of deletion bug
...
The s_glExtensionSetList could be deleted while pointers to
GLExtension objects were still held e.g., by
VertexArrayStateManager, causing a segfault. This patch uses an
observer pointer to not access already-deleted data.
2020-05-20 18:21:49 +02:00
OpenSceneGraph git repository
3547b9853d
Merge pull request #953 from mnaehrig/master
...
Fixed creation of multisample textures
2020-05-18 09:31:51 +01:00
Mathias Nährig
94bc1a9b94
Update GLExtensions.cpp
...
GLExtensions::glTexStorage2DMultisample in fact called glTextureStorage2DMultisample which expects texture object instead of texture target
2020-05-18 10:01:16 +02:00
Conrad Poelman
e085a7d68a
Remove register keyword (deprecated in C++17/20)
...
The "register" keyword is deprecated as of C++17. (https://en.cppreference.com/w/cpp/keyword/register ) Removing it is necessary to build with clang10+.
2020-05-15 19:21:01 -04:00
Robert Osfield
8437550c25
Added ZLIB as a build depdency to PNG plugin build
2020-05-07 11:26:54 +01:00
Julien Valentin
b8416a7aa2
prevent immutability resetting when textureobject is taken from orphans
2020-05-03 10:14:11 +01:00
Robert Osfield
c29e2e4f40
Fixed handling of non Texture texture attributes.
2020-05-03 09:27:20 +01:00
Robert Osfield
d40ab36416
Updated shaders from OpenSceneGraph-Data.
2020-04-29 12:04:13 +01:00
Robert Osfield
695b836ac6
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2020-04-29 10:51:50 +01:00
OpenSceneGraph git repository
f089d2e3e0
Merge pull request #944 from remoe/patch-1
...
[macosx 10.15] Fix GC resize issue #926 from @PetrBo and @tkittel
2020-04-29 10:51:22 +01:00
Robert Osfield
4a27b7a0a8
Merged from 3.6 branch "Add option to treat all TGA files as TGA 1.0"
2020-04-29 10:50:22 +01:00
OpenSceneGraph git repository
a752a16331
Merge pull request #941 from poelmanc/patch-1
...
Name unnamed typedef struct {...} to fix MSVC error
2020-04-29 09:35:00 +01:00
OpenSceneGraph git repository
7856b30003
Merge pull request #937 from jasonbeverage/closezip
...
Closing ZipArchive in destructor
2020-04-29 09:19:55 +01:00
Robert Osfield
daf4237232
Fixed crash during compile traversal
2020-04-29 09:14:56 +01:00
Remo E
3994378a20
[macosx 10.15] Fix for https://github.com/openscenegraph/OpenSceneGraph/issues/926 from @PetrBo and @tikittel
2020-04-18 10:58:57 +02:00
Conrad Poelman
3e7bdc07ab
Name unnamed typedef struct {...} to fix MSVC error
...
Compile with latest MSVC 16.6.0 Preview Release, got error message:
> osgPlugins\x\types.h(41,20): error C7626: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classes (compiling source file ...3rdparty\OpenSceneGraph\src\osgPlugins\x\mesh.cpp)
The fix was just to give it a name, which will never be used. I picked Vector_struct, feel free to improve.
2020-04-09 03:19:28 -04:00
Jason Beverage
ea3e4d2b5b
Closing ZipArchive in destructor
2020-03-26 14:08:31 -04:00
OpenSceneGraph git repository
f2f22df811
Merge pull request #930 from scttgs0/topic-pkgconfig-findpackage
...
Improve PkgConfig usage
2020-03-23 17:28:55 +00:00
OpenSceneGraph git repository
387d6a4be6
Merge pull request #925 from MozillaReality/correct-plugin-conditionalbuilds
...
png and tiff plugins do not depend on C++ exceptions.
2020-03-23 11:39:25 +00:00
Scott Giese
89450b7e11
Improve PkgConfig usage
...
Including FindPkgConfig directly into scripts is not a recommended practice.
Doing so will cause CMake to complain with a warning.
Replaced with find_package(PkgConfig QUIET)
2020-03-22 17:46:50 -05:00
Laurens Voerman
4cce2d75bc
fix bug in ProxyNode with DEFER_LOADING_TO_DATABASE_PAGER causing crash when children reorder during load.
2020-03-13 09:02:18 +00:00
Laurens Voerman
76d7ec8e0f
ReaderWriterLAS recenter bug fixed, final batch of points was missed in translating the center point.
2020-03-13 08:45:39 +00:00
Robert Osfield
9ee206f1c5
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2020-03-13 08:34:59 +00:00