24313 Commits

Author SHA1 Message Date
rdb
c185de3018 Merge branch 'release/1.10.x' 2020-03-19 20:20:25 +01:00
rdb
c9f14a1209 readme: update links to point to 1.10.6 v1.10.6 2020-03-19 12:48:13 +01:00
aryamanpuri
242ba3c6ed readme: minor typo fix
Closes #882
2020-03-19 12:47:35 +01:00
rdb
4480f4d702 doc: add release notes for Panda3D 1.10.6 2020-03-19 12:42:18 +01:00
rdb
329abe2b3e x11: fix raw button events for dead keys 2020-03-19 12:33:51 +01:00
rdb
43fa7efaaa tform: do not stop mouse button capture until all buttons are released
We may want to consider a more elegant solution for capturing in the future.  In the meantime, this fixes #843.
2020-03-18 18:29:42 +01:00
rdb
eeeea274a4 gobj: make ram image when writing texture with clear color to 6.44 bam
This makes it possible to write textures with clear colors to .bam files even when the default bam version of 6.44 is selected.  The clear color is converted automatically to a filled RAM image.

Third part of the fix for #844
2020-03-18 17:58:51 +01:00
rdb
707b4fb866 gobj: don't strip .bam textures that contain only a clear color
Second part of the fix for #844
2020-03-18 17:51:39 +01:00
rdb
e138096578 gobj: support writing Texture clear colors to .bam files (bam 6.45)
This fix requires setting "bam-version 6 45" in Config.prc.

Part of the fix for #844
2020-03-18 17:51:05 +01:00
rdb
f1da4d4666 putil: set max supported bam version independently from default version
This will allow us to support reading and writing higher-versioned .bam file than we are writing by default.  This allows us to make changes bumping the bam version to the release branch, since we currently guarantee that bam files written by Panda3D 1.x.y can be read by Panda3D 1.x.0 (using the default settings).
2020-03-18 17:47:04 +01:00
rdb
b549133b3e collide: protect info print with is_info() check
This prevents an unnecessary sqrt
2020-03-16 14:55:42 +01:00
rdb
880e956429 grutil: fix ShaderTerrainMesh not working with compressed-textures 2020-03-16 14:55:13 +01:00
rdb
244c880f38 bam2egg: change overloaded method (for ABI reasons) to default arg
This is a follow-up to ebd538a7f83bd4ff9938a7e5f97a9ad8e6198552
2020-03-14 15:03:55 +01:00
rdb
f524f00e8e Merge branch 'release/1.10.x' 2020-03-14 15:01:38 +01:00
rdb
1b67931f16 express: invert return value of unref_if_one()
This is more consistent with how the return value of unref() works.  Someone might otherwise trip over this.
2020-03-14 14:59:20 +01:00
Derzsi Dániel
32a9ea2cef dgui: Fix DirectScrolledList scrollTo error in Python 3
As a rule of thumb, Python 3 divisions always have float results. Unfortunately, this piece of code is still relying on the old Python 2.7 behavior.

Closes #880
2020-03-14 14:55:32 +01:00
rdb
9966ddaa33 bam2egg: support multitexturing, multiple UV sets 2020-03-14 14:53:07 +01:00
rdb
ebd538a7f8 bam2egg: fix skinning bug for joints with DefaultPose 2020-03-14 14:48:31 +01:00
rdb
c5c1d4557b pgraph: fix double free if weak ptr to state is locked while being gc'ed
Fixes #499
2020-03-10 12:10:23 +01:00
rdb
fd5ec07a47 notify: make Notify::config_initialized() static
This may be slightly more efficient.
2020-03-08 10:48:50 +01:00
Philip Whitfield
df6c79f1b3 CMake: use CMAKE_CURRENT_SOURCE_DIR
Closes #878
2020-03-08 10:41:58 +01:00
rdb
515ce931b9 Merge branch 'release/1.10.x' 2020-03-08 10:37:05 +01:00
rdb
17776b0666 glgsg: fix shader not being applied if same across multiple buffers
See https://discourse.panda3d.org/t/multi-pass-rendering-setinitialstate-wont-apply-shader/25712
2020-03-08 10:31:03 +01:00
rdb
e8d8f20acb collide: fix pusher convex angle detection for visible geometry
Previously it was only working for CollisionPolygon.

Fixes #879
2020-03-08 10:30:04 +01:00
rdb
c9520c8daf Merge branch 'release/1.10.x' 2020-03-06 10:15:25 +01:00
Philip Whitfield
11eae3f1f5
Update CompositeSources.cmake
this allows panda to be checked out as a subproject
2020-03-05 22:03:08 +01:00
rdb
8a86ca97eb makewheel: don't include libpythonX.Y.a in wheel
Fixes #839
2020-03-02 11:00:00 +01:00
rdb
0b87673747 dtoolbase: fix compilation error with musl
Fixes #875
2020-03-01 15:14:15 +01:00
rdb
7b40a6a0e4 x11: restore locale after opening input method
Fixes #728
2020-02-29 17:00:28 +01:00
rdb
9fb60b18e7 Merge branch 'release/1.10.x' 2020-02-29 16:58:45 +01:00
rdb
54ff2a8dda makepanda: support --cggl-incdir and --cggl-libdir options
It's quite hacky right now, but that doesn't matter as we're switching to CMake anyway
2020-02-29 16:55:14 +01:00
rdb
9431d5013f ShaderGenerator: fix texture transforms applied to normal map
Fixes #808
2020-02-29 16:21:59 +01:00
rdb
1c357f32ca putil: fix asserts when model-cache-dir cannot be created
Fixes #790
2020-02-29 15:08:05 +01:00
rdb
f98c14c290 tform: prevent MouseWatcherRegion leave event being fired twice
Fixes #858
2020-02-29 12:10:20 +01:00
rdb
3963c5de04 x11: fix raw key down being sent repeatedly when holding key
Fixes #874
2020-02-29 11:43:33 +01:00
rdb
918d268b80 Merge branch 'release/1.10.x' 2020-02-28 15:57:06 +01:00
Derzsi Dániel
eccfce4606 task: Fix memory leak related to Python 3 signal API changes
Python 3's signal.py API does not properly support custom signal handlers. An exception is created every frame because of this, which fills up the memory of the application.

Closes #873
2020-02-28 15:55:28 +01:00
rdb
4383fceba2 x11: fall back to @im=none if XOpenIM failed
This helps if the user has configured an invalid input method in their XMODIFIERS variable.
2020-02-28 15:53:21 +01:00
rdb
b225a3260b x11: fix support for dead keys
It seems to be required to pass a window to XCreateIC for receiving dead keys.
2020-02-28 15:50:48 +01:00
rdb
8bf6385627 char: fix deadlock regression in 3ac504e 2020-02-27 00:01:34 +01:00
kamgha
0df97a2c6b CMake: Fix Windows library names for case-sensitive filesystems
Closes #865
2020-02-23 16:28:40 +01:00
Fireclaw
c73415b4ba dgui: fix sizing after changing Slider/Scrollbar orientation
Closes #700
2020-02-23 16:28:40 +01:00
Thaumaturge
50d27166d8 particles: expose birth_litter() to support burst emission
Closes #524
Closes #340
2020-02-23 15:17:57 +01:00
fireclawthefox
f21ab509ec FSM: support "any" state transitions
Closes #344
2020-02-23 14:54:30 +01:00
rdb
c59b91f503 Merge branch 'release/1.10.x' 2020-02-23 14:53:16 +01:00
rdb
18bb8a5559 pgraph: fix for additional columns in munge_points_to_quads()
Fixes #870
2020-02-23 14:48:57 +01:00
rdb
54cf7b9a5d x11: add labels to various buttons returned from get_keyboard_map()
This allows identifying, eg. the é button on French keyboard (which is at the location where 2 is on QWERTY)

This is not intended to be complete.  One must still choose what to display depending on the label and the mapped button handle (if any).
2020-02-23 14:04:42 +01:00
rdb
e2d6c4cb30 x11: don't include numpad keys in get_keyboard_map()
This is a hack until we introduce separate ButtonHandles for numpad keys
2020-02-23 14:02:59 +01:00
rdb
f57cd186bb makewheel: fix location of libpythonX.Y.so on Debian/Ubuntu 2020-02-23 10:20:38 +01:00
rdb
f1af6c80ff test_wheel: fix for Python 3.4
[skip ci]
2020-02-22 14:43:52 +01:00