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-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-06Cycles: Fix T49952: Bad MIS sampling of backgrounds with single bright pixelsLukas Stockner
With this fix, using a MIS map resolution equal to the image size for closest imterpolation or twice the size for linear interpolation gets rid of all fireflies. Previously, a much higher resolution was needed to get acceptable noise levels.
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-05change default for quicktime suport for macOS to offMartijn Berger
2016-11-04cycles, cuDeviceComputeCapability is deprecated as of cuda 5.0Martijn Berger
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...
2016-11-03Fix T49903: Blender crashes -> Append Group incl. Object using boolean modifierBastien Montagne
New code dealing with getting rid of lib-only cycles of data-blocks could add several time the same datablock to the list of candidates. Now this is avoided, and pointers are further cleaned up as double-safety measure.
2016-11-03install_deps cleanup: some Debian stuff was still present in the 'generic ↵Bastien Montagne
compile-only' part of the script.
2016-11-03Add 'Set From Faces' tool to custom split normals.Bastien Montagne
Feature request during bconf, makes sense to have it even as an hack for now, since this is probably one of the most common use cases. This should be redone in bmesh once we have proper custom noramls handling in edit mode...
2016-11-03Depsgraph: Add code for timing despgraph builderSergey Sharybin
2016-11-03Cycles: Fix missing underscore in geom_object.hLukas Stockner
2016-11-03Fix T49826: NEW-DEPSGRAPH - Texture is not updated after changing its space ↵Sergey Sharybin
color The issue was caused by image ID nodes not being in the depsgraph. Now, tricky part: we only add nodes but do not add relations yet. Reasoning: - It's currently important to only call editor's ID update callback to solve the issue, without need to flush changes somewhere deeper. - Adding relations might cause some unwanted updates, so will leave that for a later investigation.
2016-11-03Depsgraph: Fix wrong comparison of ID type vs. node typeSergey Sharybin
2016-11-03Fix T49857: Blender crashes after adding texture node to compositing treeSergey Sharybin
2016-11-03Cycles: Fix OpenCL build error caused by light termination commitLukas Stockner
2016-11-03Cycles: Fix T49901: OpenCL build error after recent light texture coordinate ↵Lukas Stockner
commit Basically, the problem here was that the transform that's used to bring texture coordinates to world space is either fetched while setting up the shader (with Object Motion is enabled) or fetched when needed (otherwise). That helps to save ShaderData memory on OpenCL when Object Motion isn't needed. Now, if OM is enabled, the Lamp transform can just be stored inside the ShaderData as well. The original commit just assumed it is. However, when it's not (on OpenCL by default, for example), there is no easy way to fetch it when needed, since the ShaderData doesn't store the Lamp index. So, for now the lamps just don't support local texture coordinates anymore when Object Motion is disabled. To fix and support this properly, one of the following could be done: - Just always pre-fetch the transform. Downside: Memory Usage increases when not using OM on OpenCL - Add a variable to ShaderData that stores the Lamp ID to allow fetching it when needed - Store the Lamp ID inside prim or object. Problem: Cycles currently checks these for whether an object was hit - these checks would need to be changed. - Enable OM whenever a Texture Coordinate's Normal output is used. Downside: Might not actually be needed.
2016-11-02Depsgraph: Fix race condition writing drivers to array propertySergey Sharybin
Animation system has separate fcurves for each of array elements and dependency graph creates separate nodes for each of fcurve, This is needed to keep granularity of updates, but causes issues because animation system will actually write the whole array to property when modifying single value (this is a limitation of RNA API). Worked around by adding operation relation between array drivers so we never write same array form multiple threads.
2016-11-02tests: Update hash for OBJSergey Sharybin
Was a recent update of UV precision.
2016-11-02Libmv: Update tests to make tests pass after recent Ceres updateSergey Sharybin
Just a precision issue, difference is around 1e-7. Should be fine to simply update expected value.
2016-11-02Solve threading conflict when calculating smooth normalsSergey Sharybin
It was possible to have synchronization issues whe naccumulating smooth normal to a vertex, causing shading artifacts during playback. Bug found by Dalai, thanks!
2016-11-02COLLADA: Removed obsolete Export select option 'Both' which created invalid ↵Gaia Clary
data (duplicate transformation information for nodes)
2016-11-02Depsgraph: Fix some errors printed to the consoleSergey Sharybin
They were not real issues, it's just some areas of code tried to create relations between non-existing nodes without checking whether such relations are really needed. Now it should be easier to see real bugs printed. Hopefully should be no regressions here.
2016-11-02Cycles standalone, compile fix UINT_MAX is not defined in device_cuda.cppMartijn Berger
2016-11-02CMake: Make ld.gold linker optionalSergey Sharybin
Some platforms are having hard time using this linker so added an option to not use it. The options is an advanced one and enabled by default so should not cause any changes for current users.
2016-11-02CMake: Fix use of some option which was never definedSergey Sharybin
This way it seems more logical to me.
2016-11-02[msvc/make.bat] Detect spaces in the build path and error out.lazydodo
2016-11-02Change frame for animations should not bein the UNDO stackDalai Felinto
Request from Hjalti Hjalmarsson for the animation work. Basically a common part of the workflow of animation is to change the pose, scrub back and forth a few times and roll back the changes when unsatisfied. However if you go back and forth too many times the UNDO stack would be full, and it would not be possible to bring back the previous pose. I'm leaving clip_editor change frames as it is for now. But we can probably change the behaviour there as well.
2016-11-01Add 'copy array' for rna buttonsBastien Montagne
ctrl-alt-c/v allows to copy/paste whole RNA array, e.g. location, rotation, etc., from UI buttons. Request from Andy at the studio.
2016-11-01Fix T49856: Blender 2.78 crashes after loading data from a blendfileBastien Montagne
Issue here was that py API code was keeping references (pointers) to the liniked data-blocks, which can actually be duplicated and then deleted during the 'make local' process... Would have like to find a better way than passing optional GHash to get the oldid->newid mapping, but could not think of a better idea.
2016-11-01Ceres: Update to the latest actual versionSergey Sharybin
Brings all the fixes and improvements done in upstream within the last 13 months.
2016-10-31Added 'delete unlocked vertex groups' option.Sybren A. Stüvel
2016-10-31BMesh: radial loop (internal API symmetry)Campbell Barton
Radial append/remove had swapped args and *slightly* different behavior. - bmesh_radial_append(edge, loop) - bmesh_radial_loop_remove(loop, edge) Match logic for append/remove, Logic for the one case where the edge needs to be left untouched has been moved to: `bmesh_radial_loop_unlink`.
2016-10-31BMesh: simplify vert & edge removalCampbell Barton
2016-10-31BMesh: remove redundant walker member & assignmentCampbell Barton
2016-10-31Cycles: Deduplicate AO calculationLukas Stockner
No functional changes.
2016-10-31UI: Don't show empty panel right-click menuJulian Eisel
2016-10-30Cycles: Fix OpenCL compilation with the new brick textureLukas Stockner
2016-10-30Cycles: Style Fix: Light sampling threshold descriptionLukas Stockner
2016-10-30Viewport smoke: add support to render the volume using a color ramp.Kévin Dietrich
This is yet another debug option that allows to render an arbitrary simulation field by using a color ramp to inspect its voxel values. Note that when using this, fire rendering is turned off. Reviewers: plasmasolutions, gottfried Differential Revision: https://developer.blender.org/D1733
2016-10-30Cycles: Initialize the RNG state from the kernel instead of the hostLukas Stockner
This allows to save a memory copy, which will be particularly useful for network rendering. Reviewers: sergey, brecht, dingto, juicyfruit, maiself Differential Revision: https://developer.blender.org/D2323
2016-10-30Cycles: Add optional probabilistic termination of light samples based on ↵Lukas Stockner
their expected contribution In scenes with many lights, some of them might have a very small contribution to some pixels, but the shadow rays are traced anyways. To avoid that, this patch adds probabilistic termination to light samples - if the contribution before checking for shadowing is below a user-defined threshold, the sample will be discarded with probability (1 - (contribution / threshold)) and otherwise kept, but weighted more to remain unbiased. This is the same approach that's also used in path termination based on length. Note that the rendering remains unbiased with this option, it just adds a bit of noise - but if the setting is used moderately, the speedup gained easily outweighs the additional noise. Reviewers: #cycles Subscribers: sergey, brecht Differential Revision: https://developer.blender.org/D2217
2016-10-30Fix compile errors for when WITH_ALEMBIC is OFF.Kévin Dietrich