Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-20Cleanup: BLI headers firstCampbell Barton
Also move descriptions into doxy header
2017-10-09Manipulator: add cage3d scale widgetCampbell Barton
For now only show this when scale manipulator is active.
2017-10-07Cleanup: style, duplicate includesCampbell Barton
2017-09-18Correct error in cage2d draw style enumCampbell Barton
2017-09-13Manipulator: cage2d expand hotspotCampbell Barton
With new style drawing hotspot should be in the middle of the border, not inside it.
2017-09-13Manipulator: alternate cage2d draw styleCampbell Barton
Doesn't rely on hovering, more consistent with 2D drawing tools.
2017-09-13Cleanup: use explicit 2d suffix for imm utilsCampbell Barton
Avoid ambiguity between 2d/3d (which were already named).
2017-09-13Manipulator: cage2d option to grab w/ a center handleCampbell Barton
2017-09-13Manipulator: Only allow negative scale w/ flag setCampbell Barton
In most cases we don't want this by default
2017-09-13Manipulator: use solid regions for select drawingCampbell Barton
Needed for 3D view selection
2017-09-13Manipulator: cage2d - uniform handle sizeCampbell Barton
2017-09-13Manipulator: fix cage2d scalingCampbell Barton
2017-09-06Fix crash using arrow manipulatorCampbell Barton
2017-09-05Manipulator: Fix arrow2d drawing outside hotspotCampbell Barton
2017-09-05Manipulator: cage2d initial rotation supportCampbell Barton
2017-09-01Fixes to cage2d scaling in the node editorCampbell Barton
2017-08-30Manipulator: correct pivot w/ non 1:1 aspectCampbell Barton
2017-08-30Manipulator: replace old cage2d manipulatorCampbell 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-30Manipulator: remove inline matrix calculationCampbell Barton
2017-08-30Manipulator: run callback when calculating the final matrixCampbell Barton
2017-08-29Manipulator: new cage2d manipulatorCampbell 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-29Cleanup: naming (RECT -> CAGE2D)Campbell Barton
Make cage2d 'part' defines public (needed to assign operator actions).
2017-08-27Manipulator: support operator per-partCampbell 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-25Manipulator: zero grab offset w/o target propertyCampbell 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-24Manipulator: modal callback can now cancel & pass eventsCampbell 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-16Cleanup: rename GPU gawain functionsCampbell Barton
Were using Batch_ prefix still
2017-08-16Gawain: remove GWN_batch_discard_allCampbell Barton
Use ownership flags instead.
2017-08-16Pass EvaluationContext instead of bContextCampbell 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-15Manipulator: grab3d use own vars to store offsetCampbell 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-15Manipulator: store initial-final matrix for reuseCampbell Barton
Also take matrix_space into account when calculating final pixel size.
2017-08-10Manipulator: grab3d option to align to viewCampbell Barton
Use for lamp-target, makes it easier to click on.
2017-08-10Manipulator: cage2d translate in 3D view supportCampbell Barton
Needed for moving image-empties.
2017-08-10Manipulator: apply cage2d scale before offsetCampbell Barton
Needed when offset takes factor into account.
2017-08-10Cleanup: don't abbreviate color w/ manipulator APICampbell Barton
2017-08-10Manipulator: rename grab enumCampbell Barton
We'll want some 3D shapes, so name existing shapes 2D
2017-08-09Manipulator: Add function to calculate matrixCampbell Barton
Each manipulator was doing this slightly differently, use shared function which can optionally override each matrix.
2017-08-09Manipulator: add sun-beam node manipulatorCampbell Barton
2017-08-09Manipulator: grab3d - support for 2d viewsCampbell 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-04Manipulator: fix cage2d cancel not resettingCampbell Barton
2017-08-04Manipulator: add manipulator space matrixCampbell 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-04Manipulator: correct center-pivot clampingCampbell Barton
2017-08-03error in last commitCampbell Barton
2017-08-03Manipulator: disallow negative scale when resizingCampbell Barton
2017-08-03Manipulator: use matrix to convert view coordsCampbell 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-03Manipulator: render border widgetCampbell Barton
Note there are issues clamping & updating, will resolve as part of changes to cage2d widget.
2017-08-03Manipulator: Use 2D manipulators in the 3D viewCampbell Barton
Also split update flag into draw-steps, since drawing 3D manipulators was tagging 2D as being refreshed.
2017-08-03Manipulator: use default for cage2d dimensionsCampbell Barton
Also minor cleanuup, assign new vars for manipulator group.
2017-08-03Cleanup: warningsCampbell Barton
2017-08-03Cleanup: rename selectionbase -> select_idCampbell Barton
2017-08-02Manipulator: Make cage2d usable in the 3D viewCampbell Barton