Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-20 | Cleanup: BLI headers first | Campbell Barton | |
Also move descriptions into doxy header | |||
2017-10-09 | Manipulator: add cage3d scale widget | Campbell Barton | |
For now only show this when scale manipulator is active. | |||
2017-10-07 | Cleanup: style, duplicate includes | Campbell Barton | |
2017-09-18 | Correct error in cage2d draw style enum | Campbell Barton | |
2017-09-13 | Manipulator: cage2d expand hotspot | Campbell Barton | |
With new style drawing hotspot should be in the middle of the border, not inside it. | |||
2017-09-13 | Manipulator: alternate cage2d draw style | Campbell Barton | |
Doesn't rely on hovering, more consistent with 2D drawing tools. | |||
2017-09-13 | Cleanup: use explicit 2d suffix for imm utils | Campbell Barton | |
Avoid ambiguity between 2d/3d (which were already named). | |||
2017-09-13 | Manipulator: cage2d option to grab w/ a center handle | Campbell Barton | |
2017-09-13 | Manipulator: Only allow negative scale w/ flag set | Campbell Barton | |
In most cases we don't want this by default | |||
2017-09-13 | Manipulator: use solid regions for select drawing | Campbell Barton | |
Needed for 3D view selection | |||
2017-09-13 | Manipulator: cage2d - uniform handle size | Campbell Barton | |
2017-09-13 | Manipulator: fix cage2d scaling | Campbell Barton | |
2017-09-06 | Fix crash using arrow manipulator | Campbell Barton | |
2017-09-05 | Manipulator: Fix arrow2d drawing outside hotspot | Campbell Barton | |
2017-09-05 | Manipulator: cage2d initial rotation support | Campbell Barton | |
2017-09-01 | Fixes to cage2d scaling in the node editor | Campbell Barton | |
2017-08-30 | Manipulator: correct pivot w/ non 1:1 aspect | Campbell Barton | |
2017-08-30 | Manipulator: replace old cage2d manipulator | Campbell Barton | |
Mostly internal changes, keeping both manipulators could have worked but there was no point long term. There are still some glitches to resolve, will work on those next. | |||
2017-08-30 | Manipulator: remove inline matrix calculation | Campbell Barton | |
2017-08-30 | Manipulator: run callback when calculating the final matrix | Campbell Barton | |
2017-08-29 | Manipulator: new cage2d manipulator | Campbell Barton | |
Adding alongside the existing one for now, but it should eventually replace it. Uses a matrix instead of (position + scale), written so rotation can be done more easily. Currently has a primitive handle for rotation, supports corner scaling. | |||
2017-08-29 | Cleanup: naming (RECT -> CAGE2D) | Campbell Barton | |
Make cage2d 'part' defines public (needed to assign operator actions). | |||
2017-08-27 | Manipulator: support operator per-part | Campbell Barton | |
A single manipulator could only assign a single operator to each part. Now each part can have it's own. Also modify 2D selection callback, 2D started at 1, 3D at 0. Now use -1 for unset value, start both at 0. | |||
2017-08-25 | Manipulator: zero grab offset w/o target property | Campbell Barton | |
Some manipulators are used like on-screen buttons, in this case it doesn't make sense to keep track of their state, so zero the offset when its unused. Needed for lamp-target manipulator. | |||
2017-08-24 | Manipulator: modal callback can now cancel & pass events | Campbell Barton | |
Re-use operator return flags for manipulator modal & invoke, this means manipulators can allow navigation or other events to be handled as they run - see T52499 | |||
2017-08-16 | Cleanup: rename GPU gawain functions | Campbell Barton | |
Were using Batch_ prefix still | |||
2017-08-16 | Gawain: remove GWN_batch_discard_all | Campbell Barton | |
Use ownership flags instead. | |||
2017-08-16 | Pass EvaluationContext instead of bContext | Campbell Barton | |
2.8x branch added bContext arg in many places, pass eval-context instead since its not simple to reason about what what nested functions do when they can access and change almost anything. Also use const to prevent unexpected modifications. This fixes crash loading files with shadows, since off-screen buffers use a NULL context for rendering. | |||
2017-08-15 | Manipulator: grab3d use own vars to store offset | Campbell Barton | |
Was complicating general use case, also support for transforming with matrix_space set. Add matrix_space support for manipulator_window_project_2d too. | |||
2017-08-15 | Manipulator: store initial-final matrix for reuse | Campbell Barton | |
Also take matrix_space into account when calculating final pixel size. | |||
2017-08-10 | Manipulator: grab3d option to align to view | Campbell Barton | |
Use for lamp-target, makes it easier to click on. | |||
2017-08-10 | Manipulator: cage2d translate in 3D view support | Campbell Barton | |
Needed for moving image-empties. | |||
2017-08-10 | Manipulator: apply cage2d scale before offset | Campbell Barton | |
Needed when offset takes factor into account. | |||
2017-08-10 | Cleanup: don't abbreviate color w/ manipulator API | Campbell Barton | |
2017-08-10 | Manipulator: rename grab enum | Campbell Barton | |
We'll want some 3D shapes, so name existing shapes 2D | |||
2017-08-09 | Manipulator: Add function to calculate matrix | Campbell Barton | |
Each manipulator was doing this slightly differently, use shared function which can optionally override each matrix. | |||
2017-08-09 | Manipulator: add sun-beam node manipulator | Campbell Barton | |
2017-08-09 | Manipulator: grab3d - support for 2d views | Campbell Barton | |
Also internal changes so arrow3d matches grab3d's behavior. Needed to add WM_MANIPULATOR_DRAW_OFFSET_SCALE flag so we can optionally apply offset in worldspace or screen scaled values. | |||
2017-08-04 | Manipulator: fix cage2d cancel not resetting | Campbell Barton | |
2017-08-04 | Manipulator: add manipulator space matrix | Campbell Barton | |
Render-border & crop-node 2d-cage manipulators where unreasonably complicated to implement because there was no good way to define the sub-region the manipulator was transforming in (render border within the camera's frame for example). Add matrix-space variable, remove scale property from cage2d manipulator, use matrix instead. | |||
2017-08-04 | Manipulator: correct center-pivot clamping | Campbell Barton | |
2017-08-03 | error in last commit | Campbell Barton | |
2017-08-03 | Manipulator: disallow negative scale when resizing | Campbell Barton | |
2017-08-03 | Manipulator: use matrix to convert view coords | Campbell Barton | |
Was doing this with property get/set but this made view operations require refreshing manipulator properties. Simplify by operating on properties in their own space. Also disable clamping for now since it assumes pixel-space. | |||
2017-08-03 | Manipulator: render border widget | Campbell Barton | |
Note there are issues clamping & updating, will resolve as part of changes to cage2d widget. | |||
2017-08-03 | Manipulator: Use 2D manipulators in the 3D view | Campbell Barton | |
Also split update flag into draw-steps, since drawing 3D manipulators was tagging 2D as being refreshed. | |||
2017-08-03 | Manipulator: use default for cage2d dimensions | Campbell Barton | |
Also minor cleanuup, assign new vars for manipulator group. | |||
2017-08-03 | Cleanup: warnings | Campbell Barton | |
2017-08-03 | Cleanup: rename selectionbase -> select_id | Campbell Barton | |
2017-08-02 | Manipulator: Make cage2d usable in the 3D view | Campbell Barton | |