Blender Git Commits

Blender Git "master" branch commits.

Page: 2077 / 5574

June 15, 2017, 22:20 (GMT)
Add support for delayed manipulator removal

This is needed so manipulators can tag themselves for removal
without causing problems from freeing data within a callback.

Also use properties within the dial manipulator and fix an error where
removing a wmManipulatorGroupType didn't remove its keymap.
June 15, 2017, 21:38 (GMT)
CMake: print absolute CMakeCache.txt

Message didn't show the path of the file to remove
which could be confusing.
June 15, 2017, 21:34 (GMT)
UV manipulator from custom widgets branch

This isn't advanced, just adding to get custom
manipulator branch from being too much out of sync with 2.8.
June 15, 2017, 16:46 (GMT)
Expose World ID panel for Eevee

That said, materials need to be updated when switching the world.
June 15, 2017, 16:37 (GMT)
Fix duplication of scene, it was missing duplication of layer properties
June 15, 2017, 15:29 (GMT)
Merge branch 'master' into blender2.8
June 15, 2017, 15:27 (GMT)
Math Lib: add angle_on_axis_v3v3_v3

Use for calculating the angle between 2 directions on an axis.

Also signed version and normalized plane projection,
use when input is normalized.
June 15, 2017, 14:37 (GMT)
Merge branch 'master' into blender2.8
June 15, 2017, 14:20 (GMT)
Cleanup: do not use `BKE_libblock_free_ex()` unless needed!
June 15, 2017, 13:54 (GMT)
Merge branch 'master' into blender2.8

Conflicts:
source/blender/collada/MeshImporter.cpp
source/blender/editors/object/object_add.c
source/blender/editors/screen/screen_edit.c
June 15, 2017, 13:47 (GMT)
Fix/workaround 'convert object' messing up linked data.

'Convert To...' Object operation has very weird effect of actually
working at obdata level, not object level, which means *all* objects
(even unselected/hidden/in other scenes/...) using same obdata will be
converted to new selected type.

IMHO this is very bad behavior, but... not a bug really, so do not
change this for now.

But at least, do not do that when working on some linked data, else it
leaves Blend file in invalid (incoherent) state until next reload.

So workaround for now is to enforce the 'Keep Original' option when some
linked object/obdata is affected by the operation.

Also fixed somewhat broken usercount handling in Curve->Mesh part.
June 15, 2017, 13:02 (GMT)
Eevee: Use PROP_NONE for probe grid resolution

It makes no sense to use PROP_PIXEL as unit here.
June 15, 2017, 11:47 (GMT)
Layers: Scene copy should copy selection as well.

We need this for Depsgraph, otherwise CoW scene will have different selection properties.
June 15, 2017, 11:06 (GMT)
Cleanup: make Group Unlink outliner action use `BKE_libblock_delete() too.

Same as in rB2bd51474a44...
June 15, 2017, 11:00 (GMT)
Cleanup: remove useless call to `BKE_screen_free()` in screen deletion.

`BKE_libblock_free()` will call it itself.
June 15, 2017, 10:57 (GMT)
Fix dangerous code when deleting Scene.

That one was probably not an actual issue, except maybe in some corner
cases (like deleting a linked scene also used by some other linked scene).

Again, better not try to do smart & complex freeing logic outside of
BKE_library area, let's keep spaghetti nitghmare in a single place!
June 15, 2017, 10:56 (GMT)
Updates to manipulator API

While this is work-in-progress from custom-manipulators branch
its stable so adding into 2.8 so we don't get too much out of sync.

- ManipulatorGroupType's are moved out of the manipulator-map and are now
global (like operators, panels etc) and added into spaces as needed.
Without this all operators that might ever use a manipulator in the 3D
view would be polling the viewport.
- Add optional get/set callbacks for non-RNA properties
Needed so re-usable manipulators can control values that
don't correspond to a single properly or need conversion.
- Fix divide by zero bug in arrow manipulator (when moving zero pixels).
June 15, 2017, 10:49 (GMT)
Cleanup: make Group Unlink operator use BKE_libblock_delete(), since that's what it is doing.

Previous code (same as what `BKE_libblock_free_us()` is doing when
usercount reach 0) was probably OK in that specific case, but still not
good idea, and potentially risky.
June 15, 2017, 10:44 (GMT)
Fix collada importer doing own handling of usercount/freeing.

Better use generic `BKE_libblock_free_us()`.
June 15, 2017, 10:38 (GMT)
Fix potentially dnagerous code in doversionning of brush.

Even though in that specific it was probably safe-ish, there is no
guarantee at this point Brush we want to remove are not used somewhere,
better take the slightly slower, much safer `BKE_libblock_delete()` path here.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021