Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-29Merge branch 'master' into temp-ghash-setopstemp-ghash-setopsBastien Montagne
2015-06-29Fix T45022: Update missing when linking objects with new depsgraphSergey Sharybin
2015-06-29Fix T45156: scaling region crashCampbell Barton
2015-06-29Fix T45154: Translation binary file(blender.mo) for Japanese is too smallSergey Sharybin
The issue was caused by some changes made to msgfmt which were needed to make modified (cleaned-up, stripped-comments messages) working. Unfortunately that fix was merged into the release branch, so this fix is to be ported there as well and verified against rc1 translations.
2015-06-29Partial fix T45156: scaling region crashCampbell Barton
'ar->winy' may not be initialized, making regions zoom in (past limits) and attempt to draw very large text (~10x10k size characters), often crashing. Fix isn't complete since it only corrects factory startup.
2015-06-29Cleanup: Style in for loops header.Thomas Dinges
2015-06-28Fix T45227: Light optimization commit broke world MISSergey Sharybin
2015-06-28Cycles: Avoid having duplication of BVH arrays during buildSergey Sharybin
Previous idea behind having vector during building and array for actual storage was needed in order to minimize amount of re-allocations happening during the build, but it lead to double memory overhead used by those arrays at the vector to array conversion stage. Issue with such approach was that for BVH without spatial split size of arrays is known in advance and it never changes, which made vector to array conversion totally redundant. Also after testing with several rather complex from spatial split scenes (such as trees) it seems even conservative approach of reallocation (when we perform re-allocation when leaf does not fit into the memory) doesn't give measurable difference in time. This makes it so we can switch to array, which will avoid unneeded memory re-allocations when spatial split is disabled without harming other cases. it's a bit difficult to measure exact benefit of this change on our production files here, but depending on the scene it might give quite reasonable memory save.
2015-06-28Cycles: Add assert to an array at() function to be sure we don't have bad ↵Sergey Sharybin
memory access
2015-06-28Cycles: Minor code style cleanup, whitesacesSergey Sharybin
2015-06-28BGE: added clamping of angular velocity.Sybren A. Stüvel
Angular velocity clamping was missing from the BGE. It is implemented similarly to the linear velocity clamping. It is needed to be able to drive physical simulations of systems that have a limited rotational speed. Reviewed by: campbellbarton, panzergame, ton Differential Revision: https://developer.blender.org/D1365
2015-06-28BGE Fix: apply velocity clamping on every physics subtickSybren A. Stüvel
This patch uses the Bullet "internal tick callback" functionality to ensure that velocity clamping is performed after every physics update. This makes a difference when physics subticks > 1, as in that case the too-high velocity could have impacted the simulation. This patch follows the examples at [1] and [2]; the latter example also explains that the way we limit velocity in the BGE (before this patch) is wrong. [1] http://bulletphysics.org/mediawiki-1.5.8/index.php/Simulation_Tick_Callbacks [2] http://www.bulletphysics.org/mediawiki-1.5.8/index.php/Code_Snippets#I_want_to_cap_the_speed_of_my_spaceship; Reviewed by: panzergame Differential Revision: https://developer.blender.org/D1364
2015-06-28Cleanup: remove BLI prefix from BKE funcsCampbell Barton
2015-06-28Fix T45214: BI render: maximum saturation bug in shadow pass with non-shadow ↵Bastien Montagne
lighting. In case scene lighting would only have non-shadow light source, shadow intensity would remain to 'pitch black'...
2015-06-28Temporarily disable absolute snappingCampbell Barton
This really should have been finalized as a design task first, there are too many open topics on how it should work.
2015-06-28Fix T45216: File Browser shows negative sizes for large files.Bastien Montagne
Simply backport small part of work from asset-experiments here (using double and adding tera-bytes unit), looks like off_t is not always 64bits even on a 64bit OS...
2015-06-27Cycles: Use aligned blender allocator when using guarded allocationSergey Sharybin
This way we solve possible issues caused by regular allocator not being aware of some classes preferring 16 bytes alignment needed for SSE to work properly. This caused random crashes during rendering. Now we always use aligned allocation in GuardedAllocator which shouldn't be any measurable performance impact and the code is only used by developers after defining special symbol, so there is no impact on release builds at all.
2015-06-27OpenGL debug contexts:Antony Riakiotakis
Enable debug output in debug contexts for gl 4.3+
2015-06-27Cycles: Fix for wrong device enumeration in CUDASergey Sharybin
it is the same issue as described in the previous commit, original changes in this area were wrong and only worked on a bugger optimus driver which simply appeared to work by co-incident and in fact used wrong device..
2015-06-27Cycles: Rework the way how OpenCL devices are createdSergey Sharybin
It was annoying copy-paste happened across OpenCL device constructor, device enumeration and split kernel checks. Now those areas are using an utility function which returns pairs of platform and device IDs for devices which are supported by Cycles and enumeration is happening inside that list. This makes it so filtering is happening in a single place, so there's no need to keep 3 different functions in sync. This commit also fixes a bug with wrong enumeration of devices caused by recent fixes. Those fixes were in fact wrong and only happened to appear to be working on laptop with optimus card on Linux. Root of those issues is in fact in bad Linux driver for optimus cards.
2015-06-27Cycles: Allow using custom allocators for vector classSergey Sharybin
2015-06-27Cycles: Ignore light which has no contribution to the sceneSergey Sharybin
This commit makes it so light which has zero energy or doesn't has emission shader at all is being ignored by the path tracing.
2015-06-27Transform: absolute grid snappingCampbell Barton
D910 by @donfabio with edits New icon for menu is still TODO
2015-06-27Cycles standalone: add support for reading UV coordinates to the XML scene ↵Martijn Berger
reader
2015-06-27Cleanup: int/uint mismatch in printf...Bastien Montagne
2015-06-27Cleanup: all params of BLI_str partition funcs can be const...Bastien Montagne
2015-06-27OpenEXR cleanup: get rid of public `IMB_exr_split_token`, use BLI str ↵Bastien Montagne
helpers instead of own cooking.
2015-06-27GTests for new 'end' option of `BLI_str_partition_ex()`.Bastien Montagne
2015-06-27Extend `BLI_str_partition_ex`: add possibility to define a right limit to ↵Bastien Montagne
the string. Now you can define `end` pointer as right limit of the string (allows to easily search in substring, especially useful when searching from right).
2015-06-27Fix part of code in `load_image_single()` wrongly disabled when WITH_OPENEXR ↵Bastien Montagne
was disabled.
2015-06-27Fix crasher when loading multiview OpenEXR image.Bastien Montagne
With multiview/multilayer OpenEXR file, `load_image_single()` will return NULL ibuf, since it has already populated ima (with `image_create_multiview()` or `image_create_multilayer()` calls). Also, added some more checks before doing `IMB_ImBufFromStereo3d()`, to be sure we do have enough slots in ibuf_arr, and we do not overwrite second ibuf either.
2015-06-27Fix T45204: String Splitting Function Bug: Using OpenEXR function even if ↵Bastien Montagne
compiled without OpenEXR. Seriously!!! Also, fix a potential buffer overrun here. This should be backported to final release.
2015-06-26Cleanup: Fix a typo in world MIS.Thomas Dinges
Found by Lukas Stockner, thanks!
2015-06-26Fix crash on undoing after 8690ea6Antony Riakiotakis
Forgot to clear the mutex when reloading the scene.
2015-06-26Make code compile with GPU_DEBUGAntony Riakiotakis
2015-06-26Fix T45199 crash when editing material nodes.Antony Riakiotakis
Issue is data race between preview job and GPU nodetree evaluation when localizing the nodetree. Data race happens due to localizations doing overrides on original nodes' new_node variable. Solution here could probably be to use a hash for mapping of old to new nodes but will prefer simple brute force lock for now.
2015-06-26Cleanup: transform centerCampbell Barton
store global center in transform struct, some code was calculating all the time, this is useful to keep available.
2015-06-26Cleanup: transform aspectCampbell Barton
Transform code had duplicate aspect checking, now store aspect in TransInfo.aspect for reuse.
2015-06-25Revert "Fix off by one error in display of start/end frame in sequencer."Antony Riakiotakis
This reverts commit 0e02ad8b6495b2755598a24b487041a3ed8e0116. Initial commit was done so visual result fits with animation cursor in timeline but this makes it so it looks like one extra frame is rendered. Other idea would be to render one less frame for sequencer but this is not so nice either. Generally here's no way to be fully consistent here, but at least let's be workflow-consistent
2015-06-25Fix T45191 Speed strip behaviour not easy to predict.Antony Riakiotakis
Code here calculated speed based on underlying strip start position, which was not really visible, making prediction of the result really difficult. Things here are simple: As long as the strip exists, manipulate the current frame by the provided factor.
2015-06-25Fix T45190 effect muting does not restore original sequencer display.Antony Riakiotakis
2015-06-25Correct error in recent refactorCampbell Barton
Closed loops missed last line
2015-06-25Select flush was missing in delete edge-loopCampbell Barton
2015-06-25splash fix, previous had color conversion errorCampbell Barton
2015-06-25Weight Paint: replace Blend with Smooth toolCampbell Barton
Improved behavior - can smooth # iterations - option to expand/contract weights - optionally mix with all/selected/unselected
2015-06-25API calls for converting weights to float arrayCampbell Barton
2015-06-25Cleanup: generalize weight paint poll functionCampbell Barton
2015-06-24BGE: Missing dot in 2d filter actuator documentation.Quentin Wenger
2015-06-24BGE: Fix 2dfilter actuator mode constants.Quentin Wenger
2015-06-24BGE: Fix color used as background in VideoTexture.Quentin Wenger
Now we use color converted (if we do a color management) by the setter for background color in VideoTexture (ImageRender & ImageMirror). Reviewers:panzergame