Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 2480 / 5574

November 10, 2015, 07:16 (GMT)
OpenSubdiv: Enable GLSL Compute for AMD devices

There was a bug in OpenSubdiv library which is now fixed by updating library in
the build environments.

Still requires testing, but now being at the beginning of release cycle is
should be safe to simply enable option and let everyone to test :)
November 9, 2015, 22:19 (GMT)
Text Editor: use line-number color for margin

also use stipple so you can see the cursor behind it.
November 9, 2015, 22:07 (GMT)
Cleanup: move ui-selextend defines into header
November 9, 2015, 21:53 (GMT)
UI: support editing >400 length text buttons

RNA could define strings as dynamically sized,
but the interface ignored this and clamped them to UI_MAX_DRAW_STR.

Fixes T46734, also fixes possible pasting non-utf8 text into utf8 buttons.
November 9, 2015, 20:15 (GMT)
Cleanup: `BKE_library_update_ID_link_user`: use `id_us_ensure_real` for `IDWALK_USER_ONE`.
November 9, 2015, 20:00 (GMT)
Fake user: add BKE_library helpers to set/clear that flag.

Since it also involves usercount manipulation, safer and cleaner to do it in BKE_library...
November 9, 2015, 20:00 (GMT)
Rework a bit id_us_min, and make it assert on usercount error.
November 9, 2015, 20:00 (GMT)
Cleanup: avoid incrementing/decrementing id->us outside of BKE_library.

We have callbacks for that, they also do some checks and help ensure things are done
correctly. Only place where this is assumed not true is blenloader (since here we
may affect refcount of library IDs as well...).
November 9, 2015, 20:00 (GMT)
Cleanup: readfile: get rid of USER_ONE, replaced by USER_REAL everywhere.

USER_ONE was only ensuring id->us was non-zero, while USER_REAL ensures
it is non-zero **and** >1 in case fake_user flag is set (which at least
ensures us unsetting fake_user won't leave id->us in invalid zero state).
November 9, 2015, 19:31 (GMT)
CMake: remove setting of policy CMP0043 to OLD.

CMake 3.0 ignores the suffixed COMPILE_DEFINITIONS_<CONFIG> variants if policy
CMP0043 is NEW, preferring instead to consume the unsuffixed COMPILE_DEFINITONS
property and evaluate generator expressions in it.

Setting the policy to OLD causes CMake 3.0 to not ignore those properties.

Use the suffixed properties for compatibility only for CMake versions older
than 3.0 using an explicit version check. Use the non-suffixed property with
generator expressions otherwise.

These definitions should mostly not be needed at all - CMake already sets
NDEBUG in suffixed CMAKE_CXX_FLAGS_<CONFIG> variables. The _DEBUG macro is
non-standard, but is used in several places in blender (usually in an OR
combination with the DEBUG macro). Additionally, blender overwrites (instead
of appending to) the CMAKE_CXX_FLAGS_<CONFIG> variables on WIN32.

Rather than try to fundamentally change how debug-macros are handled in
blender, change the buildsystem to keep the same behavior without requiring the
CMP0043 policy set to OLD.
November 9, 2015, 18:31 (GMT)
UI: avoid duplicating the string to set the cursor

Internal change only.
November 9, 2015, 15:53 (GMT)
Revert "Increase CMake minimum version to 3.0"

This reverts commit ff3cf93405e63fa367f64412bcfe96b382b24b38.

Turns out distros only a year old still use CMake 2.8x
November 9, 2015, 13:53 (GMT)
Fix broken groupobject usercount handling.

As we can see in (original) read code, ob pointer in groupobject is actually a 'USER_ONE' case.
This was not done in 'add object to group' code, probably because we can assume objects always
have at least one user in that case? Made it explicit now. Also fixed foreach_ID_link looper.

In general we have waaayyyyyy too much 'own handling' of ID->us count in code currently,
will clean up that...
November 9, 2015, 12:37 (GMT)
Increase CMake minimum version to 3.0

This allows us to use newer features of CMake, and less hassles having to test & support older versions.
November 8, 2015, 14:17 (GMT)
Code cleanup: remove some unused mesh laplacian code.
November 8, 2015, 05:20 (GMT)
Remove outdated TODO, it's supported already
November 8, 2015, 05:10 (GMT)
Point Density: Prevent crash when scene is not sent to calc_point_density()
November 8, 2015, 02:56 (GMT)
Remove unused header files

Was a left-over from recent OpenSubdiv changes.
November 8, 2015, 02:29 (GMT)
Fix T46712: Crash while rendering Freestyle scene

The issue was in fact caused by missing initialization of motion blur shutter
curve for all new scenes when not using "Copy Scene Settings" option.
November 7, 2015, 21:42 (GMT)
Cmake Cpack fix cpack on Apple and Linux
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021