1907 Commits

Author SHA1 Message Date
Anton Butsev
442d7ca981 View/color salt-bridge interactions differently from hydrogen bonds (PYMOL-3846) 2024-01-30 12:57:54 -05:00
Anton Butsev
ce1fb16bde halogen-bond detection and display (PYMOL-3466) 2024-01-30 12:46:06 -05:00
Thomas Holder
d59041b68c enum cAtomProtected_* (#316) 2023-09-25 12:18:38 -04:00
Thomas Holder
a610ff1f38 Fix crash with grid_mode and no objects (#306)
Regression of d0a3380636
2023-09-06 16:07:30 -04:00
Thomas Holder
d0a3380636 Avoid 3x2 grid for size=4 (#276) 2023-02-03 15:22:46 -05:00
Thomas Holder
f70c533d01 bg_gradient=2 grid mode 2023-01-04 00:01:43 +09:00
Thomas Holder
c314c5a218 Refactor bg_grad 2023-01-04 00:01:43 +09:00
Thomas Holder
85b6ce440a New setting: cell_centered (#259)
Closes https://github.com/schrodinger/pymol-open-source/issues/258
2022-10-05 11:15:15 -04:00
Jarrett Johnson
59ca205a81 cgo::draw::cone 2022-08-17 15:04:34 -04:00
Jarrett Johnson
c63963792c PYMOL-3403: Fix grid_mode not working in batch mode 2022-08-17 15:04:18 -04:00
Jarrett Johnson
094003573c fix png, ray=1 grid_mode single 2022-08-17 15:04:09 -04:00
Jarrett Johnson
3d81f20dbf replace int by GridMode 2022-08-17 15:03:15 -04:00
Jarrett Johnson
91f3ead318 GridMode enum 2022-08-17 15:03:08 -04:00
Jarrett Johnson
d94a11474c Avoid implicit narrowing conversion 2022-08-17 15:03:00 -04:00
Jarrett Johnson
53f1d78106 Abstract many C++ viewport calls 2022-08-17 15:02:29 -04:00
Jarrett Johnson
1b910b9641 fix LG compilation; clang format 2022-08-17 14:52:18 -04:00
Jarrett Johnson
8f14cee822 SceneRenderInfo and other misc render API changes 2022-08-17 14:50:48 -04:00
Jarrett Johnson
3ff4ec4b00 Decouple offscreen rendering logic from AA request 2022-08-17 14:47:23 -04:00
Jarrett Johnson
58730721d2 SceneRender.cpp clang format 2022-08-17 14:28:56 -04:00
Jarrett Johnson
0175c0d918 fix compiler error 2022-08-17 14:25:32 -04:00
Jarrett Johnson
6de35cd627 Initial pass of Scene Render refactor 2022-08-17 14:23:55 -04:00
Jarrett Johnson
8b553202bc Fix CGOs with abnormally small values not displaying
Fix #220
2022-05-04 17:08:52 -04:00
Jarrett Johnson
1f94226f5f PYMOL-3726 Update surface color on ramp rename 2022-05-04 15:54:40 -04:00
Jarrett Johnson
7ab93eaee4 PYMOL-3855 Fix saving colors with null names 2022-05-04 15:54:36 -04:00
Thomas Holder
abc307745d iterate: Add explicit_valence and explicit_degree (#227) 2022-03-11 17:37:26 -05:00
Thomas Holder
d589382ffc Fix fallback MMTF loader (#226)
* Fix fallback MMTF loader

`msgpack-python` 1.0 uses `raw=False` by default, which means that data
(including dictionary keys) are `str` instead of `bytes`.

Also works with `u-msgpack-python` 2.7, which uses `str` as well with
Python 3 and ignores the `raw` argument.

Fixes https://github.com/schrodinger/pymol-open-source/issues/225

* Fix tests for chempy.mmtf

- testLoadMMTFMissingOptionalGroupTypeFields
- testLoadMMTFStr
- testLoadRawMMTF
2022-03-08 16:36:56 -05:00
Thomas Stewart
9b6a00f050 PYMOL-3792: Fix for invalid selection string crash 2022-03-08 15:34:41 -05:00
Jarrett Johnson
eea082966b Remove orthoCGO defines; fix warnings 2022-03-08 15:31:11 -05:00
Jarrett Johnson
74894e01da Generic CGO Render 2022-03-08 15:16:16 -05:00
Jarrett Johnson
e8ce23ca46 Add CGORenderer 2022-03-08 15:08:09 -05:00
Jarrett Johnson
34e39904c8 PYMOL-3766 Move GL code out of CGO.cpp
API-specific behavior is now done in separate files
2022-03-08 15:07:49 -05:00
Jarrett Johnson
910329a903 New clip API modes and get_clip 2022-02-22 16:30:32 -05:00
Jarrett Johnson
994403a106 Add required comma to some debug prints 2022-02-22 16:28:08 -05:00
Jarrett Johnson
4de259f586 Fix movie commands querying out of range 2022-02-22 16:25:14 -05:00
Jarrett Johnson
83387d20a5 Camera-Event wrapper class 2022-02-22 16:23:23 -05:00
Thomas Stewart
6367cb4f79 Event Class & C++11 fixes 2022-02-22 16:13:04 -05:00
Jarrett Johnson
bacc3256d5 TTT Rework 2022-02-22 15:34:44 -05:00
Thomas Holder
a1ff1459f5 Add fetch_path to is_session_blacklisted
The `fetch_path` setting is usually not meaningful across different
computers. Opening a session file which has `fetch_path` set to a
location which doesn't exist on the current computer will make the
`fetch` command fail to save files.
2021-11-10 02:36:52 -05:00
Jarrett Johnson
a869dc396e Wizard result_t metafunction result type #193 2021-10-14 16:22:03 -04:00
Jarrett Johnson
a37118f678 Fix #186 Remove predefined None (X11) 2021-10-07 11:08:07 -04:00
Jarrett Johnson
024dccf3fb Wizard result_t metafunction test #193 2021-10-07 10:53:47 -04:00
Jarrett Johnson
c6479cd122 Use glm::epsilonEqual instead of surrogate 2021-09-14 10:11:08 -04:00
Jarrett Johnson
eb12ee6864 SceneView.cpp line endings 2021-09-14 10:11:01 -04:00
Jarrett Johnson
e8aa72ca1b glm::equal epsilon surrogate 2021-09-14 10:10:48 -04:00
Jarrett Johnson
abd9579a97 fix print glm matrix element 2021-08-20 13:41:55 -04:00
Jarrett Johnson
2648caa09c remove glm's matrix_relational header include 2021-08-20 13:41:42 -04:00
Jarrett Johnson
527ba55926 more SceneView::m_pos encapsulation 2021-08-20 12:10:38 -04:00
Jarrett Johnson
66de86cb52 SceneView encapsulation 2021-08-20 12:10:22 -04:00
Jarrett Johnson
a96fd64cc2 Add Feedback/Block headers 2021-08-20 11:29:12 -04:00
Jarrett Johnson
07d7a790f0 Forward decls/Move headers to source 2021-08-20 11:24:10 -04:00