Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4504 / 8462

February 20, 2016, 16:56 (GMT)
Fix memory leak when saving OpenEXR half file fails.
February 20, 2016, 15:49 (GMT)
Fix T47482: Own mistake in new handling of 'userone' ID usages when decrementing usercount.

Ended up not handling at all 'userone' case, now it increments usercount correctly when needed.
February 20, 2016, 15:45 (GMT)
Make Blender ready for C++11

Did a full compile of debug build with C++11 enabled, it all passed compilation
apart from some deprecated type used in GE's Video Texture. Solved it inside of
ifdef block now.

In the future we should uncomment the MSVC part of it, it should all be safe and
correct (MSVC2013 does not define new C++ version but supports C++11). The reason
it is commented is to have absolutely no effect on the upcoming release.
February 20, 2016, 14:28 (GMT)
Add GHash/GSet pop() feature.

Behavior is similar to python's set.pop(), it removes and returns a 'random' entry from the hash.

Notes:
* Popping will return items in same order as ghash/gset iterators (i.e. increasing
order in internal buckets-based storage), unless ghash/gset is modified in between.
* We are keeping a track of the latest bucket we popped out (through a 'state' parameter),
this allows for similar performances to iterators when iteratively popping a whole hash
(without it, we are roughly O(n!), with it we are roughly O(n)...).

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D1808
February 20, 2016, 13:07 (GMT)
Userpreferences Panel (for the 3DView)

This is an attempt to improve the User preferences panel for the 3DView. I made 2 changes:

- I reordered the sequence of properties by grouping them into more logical groups as it made sense to me. Please indicate where to rearrange the order if necessary.

- Then i added some changes in the code to get the groups better arranged visually. I am pretty sure that this can be done much better, more clever, more generic, whatever. This is just what i could figure out on my own so far.

Reviewers: aligorith, sergey, gaiaclary

Subscribers: sergey

Projects: #user_interface

Maniphest Tasks: T47295

Differential Revision: https://developer.blender.org/D1757
February 20, 2016, 12:15 (GMT)
Fix (unreported) crash when ungrouping a nodegroup with some animated node.

Was accessing already freed action in temp nodegroup animation data...
February 20, 2016, 09:06 (GMT)
OCIO: Disable the warnings related on C4251

Those warnings are trigerred by stl classes in OCIO's public interface.

To quote MSDN: "C4251 can be ignored if you are deriving from a type in
the Standard C++ Library"

This is the only instance where those warnings hunts us, so for now we
can keep it all local in intern/opencolorio but this might be changed
in the future.
February 20, 2016, 09:06 (GMT)
GHost: Avoid macro re-definition by undefining the macro first

Should b totally harmless since the define was overriten anyway.
February 20, 2016, 09:06 (GMT)
Carve: Silence 32/64 bit shit warning

There's no need to mix ints and size_t here at all
because all the values fits into integer.

It's unlikely we'll be re-bundling Carve, so didn't
bother with the patchset.
February 20, 2016, 09:06 (GMT)
CMake: Ignore paranoid MSVC linker warnings
February 20, 2016, 09:06 (GMT)
Fix for NULL used instead of false
February 20, 2016, 09:06 (GMT)
Cleanup, avoid passing const pointer to MEM_freeN()

This generates warnings with MSVC. Similar typecast was
already done in other cases, so think it's all fine.
February 20, 2016, 09:06 (GMT)
ImBuf: Cleanup, don't use `using namespace`, it's a bad practice
February 20, 2016, 09:06 (GMT)
ImBuf: Solve re-definition warnings

The idea now is to have FFmpeg/OIIO headers listed after
the system ones. This is because FFmpeg/OIIO might define
some constants with the same name as the ones from math.h.

FFmpeg/OIIO has ifdef around defines, but math.h doesn't
check whether constants were already defined or not, which
causes some noisy warnings.
February 20, 2016, 09:06 (GMT)
Cycles: Avoid re-definition of math cnstants with MSVC
February 20, 2016, 09:06 (GMT)
Fix some warnings in GLog/GFlags when buildingwith MSVC2013

Those warnings were only addressed for MSVC2015 so far.
February 20, 2016, 09:06 (GMT)
CMake: Don't pass SSE2 flags in compositor for 64bit MSVC

ALl 64 bit platforms supports SSE2, hence the flag is ignored
and warning was generated.
February 20, 2016, 04:55 (GMT)
Fix T44453: Exporting Keying Sets referencing node tree properties generates invalid Python code/paths

The problem is that node trees (such as the Material, Lamp, and Compositor node trees)
are stored as "nested node trees" on the affected datablocks. They are particularly
troublesome to deal with, as the are not easily identified, and also cannot be easily
mapped back to the ID's which actually own them. As a result, the usual automated
methods do not work when dealing with these!
February 20, 2016, 04:55 (GMT)
Fix T47433: Driven shapekey values (from 2.4x) are not indicated as having drivers

Only Driver FCurves with named shapekeys (instead of shapekey indices) was
getting picked up by the UI code for testing whether a property had drivers
or not. So, while this version patching code worked when it was initially
written for the 2.4x -> 2.5 transition, some subsequent changes ended up
breaking this. As this stuff is not used often, the breakage wasn't noticed.
February 20, 2016, 04:55 (GMT)
Fix T47492: Name is not displayed for newly renamed FCurve, when the path was broken

Thanks Alexander Romanov (a.romanov) for the fix!
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021