Blender Git Commits

Blender Git "master" branch commits.

Page: 1269 / 5574

March 20, 2019, 13:00 (GMT)
Fix T62248: Infinite Hotspot Size Crop Node

When the area of the crop node is zero the hotspot margin becomes infinite.
This makes the gizmo by default think the translate mode hotspot is everywhere.

This fix will return a state if the INFINITY is detected so we can
return the hotspot drawing.

The cage2d gizmo is still not usable for sizes of 0 by 0 as now it won't
draw anything. the issues of the gizmo should be re-designed so we can
mitigate these limitations. But that is out of scope for this fix.

Reviewed By: campbellbarton

Maniphest Tasks: T62248

Differential Revision: https://developer.blender.org/D4516
March 20, 2019, 12:45 (GMT)
Cleanup: return early in BLI_path_frame_get

Instead of making the entire body of the function conditional, it now
returns early, unindenting the entire function and preventing the reader
from searching for a non-existent `else` clause.

No semantic changes.
March 20, 2019, 12:42 (GMT)
Fix BLI_path_frame_strip

The `BLI_path_frame_strip` function was completely broken, unless the
number of digits in the sequence number was the same as the length of
the extension. In other words, it would work fine for `file.0001.abc` (4
digit `0001` and 4 char `.abc`), but other combinations would truncate
to the shortest (`file.001.abc` would become `file.###.ab` and
`file.00001.a` would become `file.##.a`). The dependency between the
sequence number and the file extension is now removed.

The behaviour has changed a little bit in the case where there are no
numbers in the filename. Previously, `path="filename.abc"` would result
in `path="filename.abc"` and `ext=""`, but now it results in
`path="filename"` and `ext=".abc"`. This way `ext` always contains the
extension, and the behaviour is consistent regardless of whether there
were any numbers found.

Furthermore, I've removed the `bool set_frame_char` parameter, because
it was unclear, probably also buggy, and most importantly, never used.

I've also added a unit test for the `BLI_path_frame_strip` function.
March 20, 2019, 12:39 (GMT)
UI: popup panel for renaming the active item

In 2.79 there was an "Item" panel with only to give access to rename
from the 3D view.

Add this functionality for context sensitive renaming.
Currently this works for objects/bones/sequence strips & nodes.

This uses F2 for a window level shortcut, replacing the file-io menu.

See: T61480
March 20, 2019, 12:33 (GMT)
Fix T62678: better glyph clipping test

Reviewers: billreynish, brecht

Differential Revision: https://developer.blender.org/D4550
March 20, 2019, 12:30 (GMT)
Fix T60211: MemLeak Convert Curve To Mesh

Ownership flag was not set, but was it was meanted to be. So the set
runtime data to NULL disconnected the Mesh with no ownership.
March 20, 2019, 12:10 (GMT)
UI: support for popups starting with buttons activated

While this could already be done from C,
this is now exposed to Python
March 20, 2019, 11:51 (GMT)
Merge branch 'blender2.7' of git.blender.org:blender
March 20, 2019, 11:30 (GMT)
Cycles: Made Embree ignore curve intersections with SSS.
March 20, 2019, 11:30 (GMT)
Cycles: Performance optimization for Embree, resizing arrays once instead of per object.
March 20, 2019, 11:19 (GMT)
Preferences: add threshold for cursor motion

A hard coded threshold was used to ignore cursor motion,
make this a preference since tablet users may want to increase it
since a pen hovering isn't as easy to keep still as a mouse.

Resolves T56278
March 20, 2019, 11:03 (GMT)
Fix missing refresh when subdividing hair strand

This is a part of T62730.i
March 20, 2019, 10:49 (GMT)
Fix T62750: Deleted Keyframe Still Affects Scene

Missing ID recalc tag.
March 20, 2019, 10:45 (GMT)
Fix T61670: Copy -> Paste - Pasted elements are not selected

The first part of this patch is just a way to improve performance a bit
by not calling BKE_scene_object_base_flag_sync_from_base() twice.

The second is the proper fix for the reported issue.

That said, the report can be re-opened since there is still discussion
about whether or not to bring the collections with the objects.

Reviewers: mont29

Subscribers: brecht, campbellbarton

Differential Revision: https://developer.blender.org/D4558
March 20, 2019, 09:51 (GMT)
UI: Add context menus to Metaball Edit, Lattice Edit and Text Edit modes
March 20, 2019, 09:30 (GMT)
Fix (unreported) Copy/Paste: orig object being instantiated in active collection on pasting.

When copy/pasting an object in same .blend file, orig object would be
instantiated into the active collection when pasting, along with the
content of the paste. Was missing a clear of LIB_TAG_DOIT on objects...

Found while investigating T61670.
March 20, 2019, 09:17 (GMT)
Cleanup: spacing in space_view3d
March 20, 2019, 09:17 (GMT)
UI: Add mirror consistently to to contextual menus

After recent changes, the mirror operators are now much nicer to execute from menus.
March 20, 2019, 07:42 (GMT)
Cleanup: un-indent NDOF operator body

This was needed for C89 compatibility,
avoid having most of the operator logic in an else block.
March 20, 2019, 07:41 (GMT)
Cleanup: Use doxy groups for NDOF operators
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021