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
2016-11-12Enhance BKE_library_make_local() to make it much quicker in complex cases.Bastien Montagne
Basic idea is to split first loop in two, and run checks before making anything actually local, to detect data-blocks that we can directly make local (because we are sure they are only used by already/future local datablocks). This allows to avoid a lot of overhead in later 'cleanup' steps of this function, here with barbershop shot it's four times quicker (from 190s to 48s). We are still far from the instantaneous results of MakeLocal in 2.77, but in that version main characters lose their connection to their armature and remain static after makelocal, so guess new code is still better. ;) There are probably more optimizations possible here, but would rather polish this area of code once we get rid of proxies, those really make it a nightmare to work on.
2016-11-12Minor optimization to BKE_library_tag_unused_linked_data().Bastien Montagne
2016-11-12Switch to unsafe but quick freeing of archipelagos of linked data.Bastien Montagne
This *should* work, but do not hesitate to revert in case it creates new crashes in append or makelocal processes.
2016-11-12Fix T49996: VSE opengl render crash with grease pencil if current frame is ↵Antonioya
empty If the opengl render with grease pencil is run from VSE with the current frame outside visible frames, the render pass is wrong and the render must be canceled because nothing to render. Related to #T49975
2016-11-11GPencil: Create brush set when create new datablock or layerAntonioya
Before this commit, the brush set was created with the first stroke drawing, but if the user creates the datablock or the layer manually (not drawing) the brush list was empty. This commit complement the python fix by Sergey: https://developer.blender.org/rB89c1f9db37cc1becdd437fcfdb1877306cc2b329
2016-11-11Fix crash happening in some cases with MakeLocal operator.Bastien Montagne
Culprit here was once more proxies. Think what was happening here was: 1) Both proxy and proxified armatures' PoseChannels were cleared (needed after remapping due to Bone pointers being stored in pchans). 2) Proxy PoseChannels got rebuilt in `BKE_pose_rebuild_ex()`, which ends, in proxy cases, by actually replacing rebuilt pchans by those from the proxified object... which has not yet been rebuilt. Fixed the issue by merely adding bone pointer to data copied from original pchan into new 'from proxy' one... Sounds much, much safer and sanier anyway, that way we can be sure bone pointer is actually pointing to a bone of the object's armature (this is supposed to be the same Armature datablock between proxy and proxified objects, but that may not be always true especially during makelocal process).
2016-11-11Fix T49994: Setting dupligroup which uses indirect relation will crashSergey Sharybin
Did similar trick to old dependency graph: tag invisible relations for update. Might need some re-consideration, see the comment. This should solve our issues with powerlib addon here in the studio.
2016-11-11Depsgraph: Add missing NULL pointer checkSergey Sharybin
2016-11-11Depsgraph: Fix missing DONE flag in relations builderSergey Sharybin
Was causing relations be build twice in certain cases.
2016-11-11Fix T49993: Indirectly used taper/bevel crashes new dependency graphSergey Sharybin
New dependency graph expects strict separation between nodes and relations builder, meaning, if we try to create relation with an object which is not in the graph yet we'll have an error in depsgraph. Now, so far object nodes were created from bases of the current scene, which caused missing objects in graph in certain cases. Didn't find better approach than to simply ensure object nodes exists when we know they'll be used by relation builder.
2016-11-11Depsgraph: Fix typo in text on curve relation builderSergey Sharybin
2016-11-11Depsgraph: Fix missing ID node tagSergey Sharybin
Might have caused nodes created multiple times for the same object.
2016-11-11Depsgraph: Add some data builder logic to corresponding functionSergey Sharybin
2016-11-11Grease Pencil: Fix python errors opening N panel -> GP with empty VSESergey Sharybin
Solves errors, but not sure interface is indeed what users will expect. Will ask GP team to check on this.
2016-11-11Depsgraph: cleanup, no functional changesSergey Sharybin
2016-11-11Depsgraph: Fix wrong relation namesSergey Sharybin
2016-11-11Depsgraph: Fix wrong relations in array modifierSergey Sharybin
2016-11-11Cycles: Add comments to endif directivesMai Lavelle
`kernel_path.h` and `kernel_path_branched.h` have a lot of conditional code and it was kind of hard to tell what code belonged to which directive. Should be easier to read now.
2016-11-10Consider Numpad Enter in pose slide operatorsSergey Sharybin
It was annoying to only have regular Enter confirming input there.
2016-11-10Fix `BKE_library_make_local()` trying to also make local proxified objects.Bastien Montagne
Proxified objects can never be local, we can totally ignore them here. This 'fixes' the asserts related to usercount when trying to remap poselib of localized proxified objects (not sure what exactly was going on wrong here, but proxies are a giant can of worms for sane data-blocks handling anyway :/).
2016-11-10Depsgraph: Fix another issue which seems to be a bugSergey Sharybin
Similar to a previous commit. Doing separately for an easy of bisect.
2016-11-10Depsgraph: Fix wrong relation from IK solver to pole targetSergey Sharybin
Copy paste error... How to avoid those?
2016-11-10Fix Grease Pencil render in VSE crashes when no strips (#T49975)Dalai Felinto
Solution as suggested by Sergey Sharybin. Initial debugging by Antonio Vazquez.
2016-11-10buidlbot, msbuild is slightly different in that is wants to build debug ↵Martijn Berger
anyway even if we told cmake we want release
2016-11-10buidlbot, msbuild is slightly different in that is wants to build debug ↵Martijn Berger
anyway even if we told cmake we want release
2016-11-10Added bpy.types.ID.make_local() that can make a single ID block local.Sybren A. Stüvel
This new `bpy.types.ID.make_local(clear_proxies=True)` allows Python code to press the "Make Local" button on any ID block. I chose `clear_proxies=True` as the default, since it's the default behaviour of `id_make_local()` (defined in `library.c`). The caller does need to take care of ensuring that linked-in objects don't refer to local data, and that proxies aren't broken. Reviewers: sergey, mont29 Reviewed By: mont29 Subscribers: dfelinto Differential Revision: https://developer.blender.org/D2346
2016-11-10let cmake handle calling msbuild for windows buildbotsMartijn Berger
2016-11-09Fix UI message.Bastien Montagne
2016-11-09BMesh: face-join, remove redundant face assignmentCampbell Barton
Keep ifdef'd out for holes, this isn't needed currently.
2016-11-09Depsgraph: Fix crash deleting bones in armature edit modeSergey Sharybin
For the new dependency graph we have to rebuild graph when bones "topology" are changing.
2016-11-09Fix some assert when making local (due to infamous PITA ShapeKey ID).Bastien Montagne
2016-11-09BMesh: Cleanup, remove hole ifdefCampbell Barton
2016-11-09BMesh: face-flip, no need for temporary edge-arrayCampbell Barton
Reverse loops in-place.
2016-11-09Fix: setting an audio callback before audio device initialization.Jörg Müller
2016-11-08Depsgraph: Use atomics to tag ID when evaluating driverSergey Sharybin
This is required since new dependency graph evaluates drivers in threads so it was possible to have some partially written ID tag there.
2016-11-08Atomics: Add 32 bit version of fetch and AND/ORSergey Sharybin
2016-11-08BMesh: remove edge search when flipping facesCampbell Barton
Replace search with direct lookup.
2016-11-08Fix memory leak when Blender is build without Bullet and files with RB is openedSergey Sharybin
2016-11-08Fix T49838: Noise randomization for frame should be done per interframes as wellSergey Sharybin
Add subframe to the animated seed hash calculation. Should be no difference for the regular files, only for cases when scene is rendered from sequencer with a speed effect, which is not really a common thing.
2016-11-08Cycles: Only use new light sample threshold for new filesSergey Sharybin
This is a late follow-up commit to the light sample threshold changes which caused difference in rendering all existing .blend files which is not something we are happy about: it is fine to use new optimized defaults for new files, but existing ones should always be rendering in the same way as they used to be. Sorry for the inconveniece, but such thing should have been done to begin with. If this setting was modified it will not be reset to zero. Now all render tests should be passing again. P.S. Also really annoying to bump subversion for such reasons, but currently we don't have better way to achieve what we want.
2016-11-08Fix T49937: Blender is crashing because of Lamp Data NodeSergey Sharybin
Lamp Data node requires shadow sample array which is only enabled when Shadows are enabled in the shading settings. This commit prevents crash but might not give expected render results in such a configuration.
2016-11-07BMesh: remove redundant edge-split loop initializeCampbell Barton
Would always set both first1 and first2.
2016-11-07Forgot this in last commit. (Brick GLSL).Thomas Dinges
2016-11-07Fix Brick Texture GLSL, broken after Mortar Smooth addition.Thomas Dinges
2016-11-07BMesh: remove redundant array sizeCampbell Barton
Correct unhelpful comment & some comment edits. Rename 'disk_is_flagged' -> 'bm_vert_is_manifold_flagged', since the check is quite specific.
2016-11-07BMesh: minor improvement to edge-split assignmentCampbell Barton
2016-11-07Fix compilation error when CUDA toolkit is not installedSergey Sharybin
After CUDA dynload changes having CUDA toolkit became required in order to compile Cycles. This only happened due to wrong default value to the option.
2016-11-07Buildbot: Update copy of buildbot master configurationSergey Sharybin
2016-11-07Cycles: Remove device settings from performance tabLukas Stockner
This was included in the commit by accident, it doesn't belong there.
2016-11-07Depsgraph: Disable timing profileSergey Sharybin