Blender Git Commits

Blender Git "master" branch commits.

Page: 2318 / 5574

July 21, 2016, 19:36 (GMT)
Fix T48915: Wrong threshold on scaled objects and ortho view.

`ray_is_normalized` == true in DerivedMesh
July 21, 2016, 18:22 (GMT)
Fix crash w/ auto-insert offset
July 21, 2016, 18:06 (GMT)
Cleanup: warnings
Revision 9279bee by Mike Erwin
July 21, 2016, 17:50 (GMT)
remove repeated codec-supports-alpha check

I don?t think any other codec enum makes sense here, so probably just
an extra copy/paste. Here are the video codecs:

AV_CODEC_ID_NONE
AV_CODEC_ID_MPEG4
AV_CODEC_ID_MJPEG
AV_CODEC_ID_DNXHD
AV_CODEC_ID_MPEG2VIDEO
AV_CODEC_ID_MPEG1VIDEO
AV_CODEC_ID_DVVIDEO
AV_CODEC_ID_THEORA
AV_CODEC_ID_PNG <? alpha
AV_CODEC_ID_QTRLE <? alpha
AV_CODEC_ID_FFV1 <? alpha (if enabled)
AV_CODEC_ID_HUFFYUV <? alpha
AV_CODEC_ID_H264
AV_CODEC_ID_FLV1

Found with PVS-Studio T48917
July 21, 2016, 15:02 (GMT)
Tracking: Fix bug when tracker will keep trying tracking past the footage
July 21, 2016, 14:54 (GMT)
Add BKE_mesh_calc_islands_loop_poly_uvmap and use it in new OSD UV subdiv.

Also renamed BKE_mesh_calc_islands_loop_poly_uv to BKE_mesh_calc_islands_loop_poly_edgeseam,
to avoid confusion...
July 21, 2016, 14:54 (GMT)
BKE mesh mapping: add new BKE_mesh_edge_loop_map_create().

Maps edges to all their pair of loops.
July 21, 2016, 14:54 (GMT)
Fix (unreported) memleak in image copy function.
July 21, 2016, 14:54 (GMT)
Fix stupid (harmless) mistake in recent commit.
July 21, 2016, 14:54 (GMT)
BKE_library_make_local: clear behind us no more used linked datablocks.

This is really not elegant solution, but simplest for now.

Ideally, we'd check all IDs first and directly 'make local' (without need to copy)
those only indirectly used by other datablocks to be made local. Would also save us from the
need of the extra 'lib_local' parameter recently added to id_make_local.

Current code seems to work well enough though, and this is not high priority to fix imho.
July 21, 2016, 14:54 (GMT)
Fix (unreported) crash in some case when remapping armature data.

Those bone pointers in object's pose bite again - turns out they can be accessed
before pose actually gets rebuilt in some cases (e.g. from undo writefile), so
we need to clear the pointers immediately.
July 21, 2016, 14:54 (GMT)
Fix missing datablocks types in id_make_local.

Adding make_local for vfont/gpencil/group/freestyle linestyle/mask/scene/sound/text.

Note that there are still some lose ends here, since some type are not handled by id_copy
(Scene, Sound and VFont), which means in case a datablock of that type is used both
directly and indirectly, localization will fail.

Scene copying might be doable though (maybe with a simple new 'full shalow' mode to existing BKE_scene_copy?),
not sure about sounds and vfonts... Situations where this becomes an issue should be very rare corner cases anyway.
July 21, 2016, 14:54 (GMT)
Cleanup: get rid of lib_indirect_test_id.

id_make_local and later remapping are supposed to handle that already,
and in a much much saner and more complete way.
July 21, 2016, 14:54 (GMT)
Refactor/deduplicate even more make_local code (and fix part of T48907).

Turns out most BKE_foo_make_local datablock-specific functions are actually doing
exactly the same thing, only two currently need special additional operations
(object and brush ones). So added a BKE_id_make_local_generic instead
of copying same code over and over.

Also, changed a bit how make_local works in case we are localizing a whole library.
We need to do the 'remap' step (from old linked ID to new local one) in the second loop,
otherwise we miss some dependencies. This fixes main part of T48907.
July 21, 2016, 14:54 (GMT)
Tracking: Fix possible cases when tracker will try tracking failed tracks
July 21, 2016, 14:12 (GMT)
Attempt to fix compilation on Windows, take 2

Previous patch was wrong apparently... :|
July 21, 2016, 13:45 (GMT)
Attempt to fix compilation error on Windows.

Patch from @fjuhec.
July 21, 2016, 10:34 (GMT)
OpenSubdiv: Prepare majority of things to have proper subdivided UV

Mainly the changes are related on establishing API to feed UV islands
to OpenSubdiv, so it will know all the connectivity information and
will be able to do proper interpolation.

Island calculation is currently rather slow, not sure how to make it
fast and not use lots of allocations.

Shouldn't be THAT bad, since this code is only runs once when creating
OSD mesh, and it's probably still faster than our orientation code.
July 21, 2016, 02:40 (GMT)
Fix another Cycles OSL script node issue with shaders using bump.
July 21, 2016, 01:51 (GMT)
Cleanup: use const, move comments to enum
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021