Commit Graph
63 Commits
Author SHA1 Message Date
uramer 36cd818155 Fix separate drop, refactor for code reuse 2021-01-28 22:10:33 +01:00
Nelsson Huotariandpsi29a 313e895912 [OpenMW-CS] Cube and sphere instance selection 2021-01-09 21:35:07 +00:00
Andrei Kortunov 8084a336b5 Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
Bret Curtis 8a8107e837 as it says; revert vismask and uncomplicate openmw 2020-04-20 20:57:38 +02:00
Andrei Kortunov a68d9aed4c Fix issues, found by CoverityScan 2020-04-04 17:45:26 +04:00
Nelsson Huotari 17cb3414d8 clean-up, improve formatting 2020-03-19 11:18:54 +02:00
Nelsson Huotari 75f6577f61 Remove unneeded include 2020-03-18 11:26:11 +02:00
Nelsson Huotari 41aa90bfa7 Add helper class for safer mask handling 2020-03-18 11:18:18 +02:00
Nelsson Huotari af434cffba fix numeric limits min() to lowest(), fix correct drop height 2020-03-18 11:18:18 +02:00
Nelsson Huotari 035d5205d9 Use collision boxes to calculate dropping height, variable naming 2020-03-18 11:18:18 +02:00
Nelsson Huotari 54738e1e32 Handle mask disabling better 2020-03-18 11:17:22 +02:00
Nelsson Huotari 711dc59f09 Implement four different functions for dropping 2020-03-18 11:17:22 +02:00
Nelsson Huotari f063eeb36e Drop objects with a keyboard shortcut 2020-03-18 11:17:22 +02:00
Nelsson Huotari 198a75b8e6 Delete selected instances with a hotkey 2020-02-19 11:44:55 +02:00
Andrei Kortunov 84979fa8b7 Move VisMask to components 2020-02-16 16:03:35 +04:00
Nat MeoandAlexei Dobrohotov af1e5e01b4 Issue #5005: Instance window via Scene window 2019-07-01 23:26:05 +00:00
Andrei Kortunov 70ed8fd1a9 Use constants instead of widely used magic numbers (task #4645) 2018-09-17 19:22:50 +04:00
Nelsson Huotari 17e01ca336 Setting "Scene Drops" rename "3D Scene Editing" 2018-05-16 11:41:37 +03:00
Nelsson Huotari 69aacdff17 Lamoot's new icon set 2018-04-15 12:35:45 +03:00
Ewan HiggsandBret Curtis 38a2de3c51 convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 2017-06-09 16:49:25 +02:00
Allofich ccacad51be Fix shadowing warnings 2016-10-16 01:34:54 +09:00
Aesylwinn ee432690e6 Make it easier to place objects in the scene editor.
This fix allows objects to be dropped onto the ground, and prevents
objects from being selected through the ground.
2016-09-03 17:37:13 -04:00
Aesylwinn 91fd966146 Fix some issues detected by coverity for the editor. 2016-08-18 12:42:35 -04:00
Marc Zinnschlag 2fef8948f1 Merge remote-tracking branch 'aesylwinn/InstanceRotateAndScale' 2016-08-18 09:13:43 +02:00
Aesylwinn 7125775648 Change free axis rotation. 2016-08-15 15:07:43 -04:00
Aesylwinn 3e4ac0c662 Potential fix for context sensitive select mode issues. 2016-08-14 14:43:29 -04:00
scrawl 2f6075329b Clang warning fixes 2016-08-14 15:10:50 +02:00
Aesylwinn 101c3cc90d Rotate around center of selection. 2016-08-12 17:12:10 -04:00
Aesylwinn 571969cd65 Scale from center of selection. 2016-08-12 17:11:37 -04:00
Aesylwinn 388917df89 Base editor rotate/scale commit. 2016-08-10 19:31:34 -04:00
Aesylwinn 05888e7925 Updated more tool tips to show shortcut configs. 2016-07-25 22:43:37 -04:00
Aesylwinn ae0d2c3b9c Refactor edit mode. Remove essentially duplicate function. 2016-05-17 21:24:16 -04:00
Aesylwinn aea2380c2b Add raytrace to dragCompleted. Implement node drag connection,
node and edge removal, and some fixes.
2016-05-16 17:25:02 -04:00
Aesylwinn 9645d0cc8a Pass more mouse pick information in scene view editor. 2016-05-12 18:21:43 -04:00
Marc Zinnschlag 1774f6d9bf moved ref num assingment from instance creation to save procedure 2016-03-24 11:12:05 +01:00
Marc Zinnschlag fa9689c5e7 delay command execution until call to Object::apply has finished (avoids cutting off the branch we are sitting on) 2016-03-11 14:04:47 +01:00
Marc Zinnschlag b2181fae20 safer handling of command macros 2016-03-08 10:48:44 +01:00
Marc Zinnschlag b5005f7812 keep sub mode over mode changes 2016-03-05 11:41:42 +01:00
Marc Zinnschlag 51a4e3fa7d properly abort drags from outside the worldspace widget (code was leaving unclean dragging flags behind) 2016-03-05 10:56:54 +01:00
Marc Zinnschlag 70745487f3 cancel instance move on editing lock becoming active 2016-03-05 10:44:46 +01:00
Marc Zinnschlag b1fb64bf68 added missing drag mode resets 2016-03-04 16:25:30 +01:00
Marc Zinnschlag dd564daba0 do not start move drags while the document is locked for editing 2016-03-04 16:24:02 +01:00
Marc Zinnschlag 1726393963 cancel instance move on edit mode change 2016-03-04 15:31:50 +01:00
Marc Zinnschlag 25effc4222 cancel instance move on sub mode change 2016-03-04 15:30:28 +01:00
Marc Zinnschlag 1240e0c716 cancel instance move on drag abort 2016-03-04 15:19:26 +01:00
Marc Zinnschlag d57021b23c some code simplification 2016-03-04 12:02:45 +01:00
Marc Zinnschlag c2a8be9048 confine move marker drags to a single axis 2016-03-04 12:00:05 +01:00
Marc Zinnschlag a19ac72215 render marker 2016-03-01 15:48:34 +01:00
Marc Zinnschlag dececf6c38 instance moving via drag in 3D scenes 2016-02-16 16:02:29 +01:00
Marc Zinnschlag 45e6974266 added select all and clear selection features 2016-01-19 14:25:20 +01:00