Age | Commit message (Collapse) | Author |
|
subsurf code with crease edges
|
|
explicit id.
|
|
- Removed relation labels, since these mostly just reflect connected nodes, and also appear too far off the edge lines
- Draw cyclic links in dark red
- Slightly thicker edges and larger margins
|
|
Was ignoring bone-length, also check that drawing shapes is enabled.
|
|
|
|
|
|
|
|
These were ignored previously, so it wasn't noticeable.
|
|
Compositing might make main thread so busy that animation is considered done due to duration before final position is reached.
Also added check to avoid unnecessary redraws.
|
|
|
|
|
|
Enabled Freestyle instead of GE :| Sry
|
|
|
|
|
|
Might also be useful to have _neg versions of these (done quite often),
but decided to keep it simple for now.
|
|
|
|
|
|
|
|
Now use auto-generated one, like e.g. for link in Help main menu...
|
|
Issue is, when 'Rotate Aroud Selection' is set, in Edit mode we do a fake transform operation
to get center point around which to rotate. For curves, most transform operations involve
a check of handle types. For now, added 'TFM_DUMMY' as an exception here.
Think it would be best to actually undo those changes in case of cancelled operation,
but this is much more involved, while this fix is safe enough to be included in final 2.76.
|
|
|
|
Switching screens quickly didn't free the panels activedata.
|
|
- enable word-wrap for all tip text to align vertically.
- draw enum identifier at the end of the last line, not first.
|
|
|
|
This wasn't visible with default settings,
but caused problems w/ pie-menu's & manually adjusted theme font-size.
Now only draw from the bound-box top w/ word-wrap enabled.
|
|
Adjusts view after mouse/border selection if some selected items are out of view bounds.
To get as much of the selection into view as possible, this adjusts view first for the last, then for the first element in the selection.
Also, if region is pretty small, view adjustment is skipped, as otherwise the view is focused on the first element only, which isn't really useful IMHO.
Maybe not so nice: Since we do two view alignment iterations, UI_view2d_curRect_validate, which is a rather big function *might* be called twice under certain circumstances (border select & total size of selected elements is exceeds view bounds). I think that's totally acceptable though.
|
|
Adjusts view to display active file after using arrow keys to navigate through files.
|
|
|
|
Basically, after border selecting, a wrong file was selected by using arrow keys if the screen was scrolled a bit vertically. Reason was that we didn't use correct view space coordinates but region space coordinates for measuring distance from mouse to first/last file in selection after border select.
|
|
Logic was broken for this vertical alignment option - we need to remove one line height here...
|
|
Added some extra seed to the hash, so it's now less likely to give repetitive
patters at values around zero.
This will change distribution of bricks for existing files. but it's something
inevitable.
|
|
|
|
Also add vertical alignment option,
default align to bottom for subtitles.
|
|
Tooltips will automatically wrap when exceeding UI_TIP_MAXWIDTH.
|
|
- Adds support for word wrapping to Blender's BLF font library.
- Splits lines when width limit is reached or on explicit \n newlines.
Details:
- Word wrapping is used when `BLF_WORD_WRAP` flag is enabled.
- There is a single loop to handle line wrapping,
this runs callback, passing in a substring,
this way we can avoid code-duplication for all word-wrapped
versions of functions... OR... avoid having to add support
for word-wrapping directly into each function.
- The `ResultBLF` struct was added to be able to get the number
of wrapped lines, when calling otherwise unrelated functions
such as `BLF_draw/BLF_width/BLF_boundbox`,
which can be passed as the last argument to `BLF_*_ex()` functions.
- The `ResultBLF` struct is used to store the result of drawing
(currently only the number of lines wrapped, and the width).
|
|
These were out of date and better have outside the source.
Also clarify BMLoop description.
|
|
- remove byte b''
- remove always false check for missing buildinfo.
- use textwrap module
|
|
Matches change from BKE_camera
|
|
|
|
|
|
|
|
|
|
Strings exceeding UI_MAX_DRAW_STR weren't null terminated.
|
|
|
|
-360 to 360 degrees...
This should be safe enough for final 2.76, sould we make other RC.
|
|
Needed since key enum now uses many characters as they're typed.
|
|
by The Alike Team
|
|
Steps to reproduce were: Open F233831, insert floating node into nearby link (so that it's not attached to frame).
|
|
|
|
Epsilon was quite arbitrary for GPU, replaced with checking for zero-sized faces.
It should solve both original report and the new one. After the release we can check
why GPU doesn't produce accurate math here and go to the root of the issue.
|