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
path: root/source
AgeCommit message (Collapse)Author
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-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-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-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-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-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-07Depsgraph: Disable timing profileSergey Sharybin
2016-11-07fix building depsgraph after recent changesMartijn Berger
2016-11-07Depsgraph: Do not rely on indirectly included cstringSergey Sharybin
Also add comment why exactly cstring is needed.
2016-11-07Proxy: Construct pchan hash when syncing armature proxySergey Sharybin
This makes bone lookup much faster (by avoiding liner string lookup) and speeds up depsgraph construction time on file open.
2016-11-07Despgraph: Optimize cycles detection algorithmSergey Sharybin
The idea is simple: when falling back to one of the nodes which was partially handled we "resume" checking outgoing relations from the index which we stopped. This gives about 15-20% depsgraph construction time save.
2016-11-07Depsgraph: Speedup initial rig build timeSergey Sharybin
We don't need to sort bone channels, it's all taken care about by the depsgraph itself. Gives up to 30% initial rig construction time speedup.
2016-11-07Depsgraph: Move key implementation from header to dedicated fileSergey Sharybin
2016-11-07Depsgraph: Move class implementation from header to implementation filesSergey Sharybin
This is more proper way to go: - Avoids re-compilation of all dependent files when implementation changes without changed API, - Linker should have much simpler time now de-duplicating and getting rid of redundant implementations.
2016-11-07Depsgraph: Fully switch from string to const char*Sergey Sharybin
This brings up to 10-20% depsgraph build time improvement in the layout files from the studio repository.
2016-11-07Depsgraph: Add extra name tag for operation nodesSergey Sharybin
The idea here is to address issue that name on it's own is not always unique: for example, when adding driver operations the name used for nodes is the RNA path (and multiple drivers can write to different array indices of the path). Basically, now it's possible to pass extra integer value to distinguish operations in such cases. So now we've already switched from sprintf() to construct unique operation name to pass RNA path and array index. There should be no functional changes yet, but this work is required for further work about replacing string with const char*.
2016-11-07Depsgraph: Cleanup, operation has name, not descriptionSergey Sharybin
Hopefully should make things more clear here.
2016-11-07Depsgraph: Remove unused functionSergey Sharybin
A residue from times where we thought to do partial graph updates, which we are not committing any time soon.
2016-11-07Depsgraph: Use const char for component APISergey Sharybin
2016-11-07Depsgraph: Remove some includes which seems unusedSergey Sharybin
2016-11-07Depsgraph: Use const char instead of string in part of drivers constructionSergey Sharybin
2016-11-07Depsgraph: Switch away form string to const char* for node namesSergey Sharybin
There is no real reason to have nodes storing heap-allocated name and description. Doing this increases amount of allocations during dependency graph building, which usually means somewhat slowness. We're temporarily loosing some eyecandy in the graphviz visualizer, but those we can bring back as a part of graphiz dump (which happens much less often than depsgraph build). This will happen in multiple commits for the ease of bisect in the future just in case this causes any regression. This commit contains ID creation API changes.
2016-11-07Depsgraph: Remove prototype of unused and non-implemented methodSergey Sharybin
2016-11-07Expose Bullet rotational spring settings in the UI.Alexander Gavrilov
Bullet spring constraint already supports rotational springs, but they are not exposed in blender UI, likely due to a simple oversight. Supporting them is as simple as adding a few DNA/RNA properties with appropriate UI and passing them on to Bullet. Reviewers: sergof Reviewed By: sergof Differential Revision: https://developer.blender.org/D2331
2016-11-07Cycles: Refactor Device selection to allow individual GPU compute device ↵Lukas Stockner
selection Previously, it was only possible to choose a single GPU or all of that type (CUDA or OpenCL). Now, a toggle button is displayed for every device. These settings are tied to the PCI Bus ID of the devices, so they're consistent across hardware addition and removal (but not when swapping/moving cards). From the code perspective, the more important change is that now, the compute device properties are stored in the Addon preferences of the Cycles addon, instead of directly in the User Preferences. This allows for a cleaner implementation, removing the Cycles C API functions that were called by the RNA code to specify the enum items. Note that this change is neither backwards- nor forwards-compatible, but since it's only a User Preference no existing files are broken. Reviewers: #cycles, brecht Reviewed By: #cycles, brecht Subscribers: brecht, juicyfruit, mib2berlin, Blendify Differential Revision: https://developer.blender.org/D2338
2016-11-05MSVC Runtime copy : Remove erroneously left in diagnostic message from ↵lazydodo
CMakeLists.txt
2016-11-05[msvc2015] Add support for copying the vc runtime.lazydodo
There's more dll's hanging out in the ucrt folder, but I just grabbed the ones blender requested (not sure if that's a wise idea, but it seems to work) Reviewers: sergey, juicyfruit Reviewed By: juicyfruit Differential Revision: https://developer.blender.org/D2335
2016-11-04Fix T49905: Segfault when copying object data of linked object.Bastien Montagne
We have to clear `newid` of all datablocks, not only object ones. Note that this whole stuff is still using some kind of older, primitive 'ID remapping', would like to see whether we can replace it with new, more generic one, but that's for another day.
2016-11-04Fix (unreported) asserts in `make_object_duplilist_real()`.Bastien Montagne
Code would try to add multiple time the same key in `parent_gh` (for this ghash a lot of dupliobjects may generate same key). Was making the tool unusable in debug builds. Also optimise things a bit by avoiding creating parent_gh when only `use_base_parent` is set.
2016-11-04Fix T49918: Make duplicates real crash on clicking operator toggles.Bastien Montagne
handle_mutex may be NULL here...