Commit Graph

275 Commits

Author SHA1 Message Date
rdb 3fe1780f16 direct: Fix use of various deprecated APIs 2021-03-09 19:21:26 +01:00
rdb 613441060b Merge branch 'release/1.10.x' 2021-01-18 23:47:36 +01:00
rdb ef6aa9d6ca directtools: Fix repeated selections causing scaling node to get huge
This appears to be a regression from 0fe56bd0a9, but I can't be sure.  Before this fix, repeated clicks of an object would cause the scaling handles to get larger and larger, until eventually causing NaN assertions.
2021-01-18 19:05:45 +01:00
rdb 842452594d Merge branch 'release/1.10.x' 2021-01-17 17:28:19 +01:00
rdb b3f0768656 Revert "directtools: Fix empty scaling node of object handle"
This reverts commit b507c88cd9.
2021-01-17 15:40:47 +01:00
rdb be9dde1eee direct: add .pylintrc, perform major code cleanup pass
Closes #989

Co-authored-by: Daniel Stokes <kupomail@gmail.com>
2020-12-31 01:36:23 +01:00
rdb cf60284ca9 Merge branch 'release/1.10.x' 2020-12-31 00:05:10 +01:00
rdb f7bd54b9ee directtools: Fix use of builtin direct instead of base.direct 2020-12-30 22:34:44 +01:00
rdb dee8df9427 Merge branch 'release/1.10.x' 2020-12-20 01:02:08 +01:00
rdb 7c676b5d26 directtools: Fix incorrect rounding for color conversion to hex
The color picker returns color values up to 255.99 so this can otherwise result in it returning a color like #100100100, and the hex code otherwise not matching with what is displayed in the color picker.
2020-12-19 15:27:23 +01:00
rdb ed397b3ab8 Merge branch 'release/1.10.x' 2020-12-09 17:59:37 +01:00
rdb 7b4ecbd60f directtools: Fix use of built-in direct instead of base.direct 2020-12-09 15:44:13 +01:00
Drew C 75fb0d3b50
More modern Direct Session UI
Parents it to the corners properly, and has a nicer look to it
2020-11-04 14:05:52 -05:00
rdb c788912070 Merge branch 'release/1.10.x' 2020-10-02 12:20:58 +02:00
Daniel b507c88cd9 directtools: Fix empty scaling node of object handle
Closes #1029
2020-10-02 12:16:10 +02:00
rdb d799a09002 cleanup: Remove support for EOL versions of Python
Fixes #905
2020-04-26 20:07:56 +02:00
fireclawthefox c395460390 directtools: Added missing imports
Closes #698
2019-08-03 09:40:11 +02:00
Sam Edwards aaeb925e84 directtools: Fix typo in DirectSelection 2018-02-23 15:50:50 -07:00
rdb d576c6b638 Improvements to generated API docs, especially in direct tree.
Also add an entry point for pfreeze.
2017-05-24 13:30:21 +02:00
fireclawthefox 8696dcea2c Fixed deprecated usage of NodePath.remove in directtools 2017-01-26 14:11:41 +01:00
rdb 23bf9ea5c7 The direct tree is now valid Python 2 *and* 3 2016-03-28 22:33:30 +02:00
mfwass f8837999ed Cleanup trailing whitespace 2015-12-13 10:08:41 -05:00
rdb 32367fcbdc Fix various import issues in the direct tree 2015-12-06 22:36:05 +01:00
rdb 50d2e8324e Merge branch 'release/1.9.x'
Conflicts:
	.travis.yml
	direct/src/directtools/DirectLights.py
	panda/src/nativenet/buffered_datagramconnection.h
2015-12-06 22:32:12 +01:00
rdb 287c44ce53 Various fixes for Python 3 versions before Python 3.3 2015-12-06 22:05:44 +01:00
rdb 31dbcae262 Deprecate many extension methods, make extension methods imported via modules instead of dumped into core.py, move _core.pyd and _direct.pyd back to core.pyd, direct.pyd respectively, move MAIN_DIR set-up code to module init time 2015-11-10 00:44:29 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb d9342043b0 Deprecate pandac.PandaModules and genPyCode, move extensions to panda3d/, clean up imports and deprecated behaviour 2015-06-28 13:55:31 +02:00
rdb 4b1c4ff3c8 Fix use of deprecated NodePath.id() 2014-04-05 08:55:50 +00:00
rdb 88048bf3da Fix use of has_key and map() 2013-12-17 19:49:09 +00:00
Chris Brunner 98000eaac0 Fix for something that shouldn't have worked at all in the first place 2013-09-03 22:44:40 +00:00
David Rose 1fc2e4b35d replace old NodePath.lerp* calls with NodePath.*Interval equivalents 2012-02-15 21:27:46 +00:00
David Rose 50e53a4d4e better support for multiple windows, multiple trackballs, one camera 2012-01-13 00:22:05 +00:00
Chris Brunner a2b940d103 Remove excess whitespace 2011-10-19 20:00:44 +00:00
rdb 028c191887 don't rely on render being available at import time 2011-02-21 15:30:04 +00:00
Mike Christel b66a795efb Summer 2010 CMU ETC PandaLE team: (1) fixed bug that made things move in wrong directions when manipulated from an orthographic viewport; (2) added capability to show the manipulation widget in world space rather than the local space of the selected object; (3) added an option to show a separate scale widget rather than using control key to scale 2010-08-20 19:33:15 +00:00
Mike Christel 22e80168cb Summer 2010 CMU ETC PandaLE team: added an option to not switch the camera's movement direction below the zero plane 2010-08-20 19:32:08 +00:00
Mike Christel 2fefa6a0b8 Summer 2010 CMU ETC PandaLE team: added two functions addDisplayRegionContext and removeDisplayRegionContext to add and remove display regions on the fly 2010-08-20 19:31:24 +00:00
Shuying Feng be8dcd75cb Added curve editing feature 2010-06-17 00:22:35 +00:00
Gyedo Jeon d236032656 Added proper handling of camera rotation when the camera is underneath grid for new LE 2010-05-15 00:14:22 +00:00
Gyedo Jeon a01f540549 Added exception handling for no intersction at cursor position 2010-04-06 18:57:52 +00:00
Gyedo Jeon 53a1e0bf62 Made multiview camera/manipulation control using BitMask32.bit(21) 2010-03-30 02:19:21 +00:00
Gyedo Jeon 3216e5c0b6 Fixed a typo 2010-03-23 21:27:10 +00:00
rdb ac1223d0da Ditch stuff like has_key and backticks 2010-03-19 10:32:09 +00:00
Gyedo Jeon ae157e1b89 Removed temoporary collision node after use 2010-03-12 05:08:04 +00:00
Gyedo Jeon a20bd77706 Made camera rotate around center of persp view in new LE 2010-02-26 18:48:03 +00:00
Gyedo Jeon ae1f9ee618 Added more hotkeys for new LE 2010-02-25 02:23:30 +00:00
Gyedo Jeon 91f365e629 Added a hotkey for make live feature 2010-02-24 22:55:18 +00:00
Gyedo Jeon 9bb860ea1e Simplified how hotkey is handled 2010-02-23 19:59:03 +00:00
Gyedo Jeon dd71475227 Added hotkey for new LE duplicate function 2010-02-22 22:42:35 +00:00