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
2019-01-31Depsgraph: Comb code to a better state all overSergey Sharybin
Some summary of changes: - Don't use DEG prefix for types and enumerator values: the code is already inside DEG namespace. - Put code where it locally belongs to: avoid having one single header file with all sort of definitions in it. - Take advantage of modern C++11 enabled by default.
2019-01-31Add C++ guards to some blenlib headersSergey Sharybin
2019-01-31Fix T61030: Drivers for shape keys not evaluated in correct orderSergey Sharybin
Was happening when value of one shape key was driving property of another shape key of same datablock. Solved by making shape key blocks properties more granular.
2019-01-31Depsgraph: Specify whether RNA path to be resolved as entry or exitSergey Sharybin
Makes it more explicit whether RNA property is used as a source dependency for something else, or whether some other dependency is being hooked up to evaluate that property.
2019-01-31Cleanup: Spelling in commentSergey Sharybin
2019-01-31Depsgraph: Use more correct update source for an internal tagsSergey Sharybin
Dependency graph will poke some IDs for recalc after finishing building. Those shouldn't be considered as a user edit.
2019-01-31Depsgraph: Use more clear name for enumeratorSergey Sharybin
Matches enumerator items and type name.
2019-01-31Fix T61032: Switching to sculpt tab causes undo to set object modeCampbell Barton
Workspace switching changed modes w/o the 3D view, causing sculpt undo's poll function to fail. Applied the same logic for texture paint too.
2019-01-31Fix T60996: Dyntopo flood fill fails due to missing ob->imatJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4285
2019-01-31Fix: allow curve of driver to be evaluated individuallyJacques Lucke
This is necessary when adding a new keyframe to a fcurve that also has a driver. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4278
2019-01-31Fix T59495, T59992, T59904, T59178, T60598: broken keyframed value editing.Brecht Van Lommel
This removes a bunch of animation/driver evaluations and recalc flags that should be redundant in the new depsgraph, and were incorrectly affecting the evaluated scene in a permanent way. Still two cases that could be removed if the depsgraph is improved, in BKE_object_handle_data_update and BKE_cachefile_update_frame. For physics subframe interpolation there are also still calls to BKE_object_where_is_calc that should ideally be removed as well, though they are not known to cause keyframing bugs. Differential Revision: https://developer.blender.org/D4274
2019-01-31Depsgraph: remove features incompatible with new system.Brecht Van Lommel
Some features are incompatible with multithreading and reliable evaluation of dependencies. We are now removing them as part of a bigger cleanup to fix bugs in keyframing and invalid animation evaluations. * Dupliframes have been removed. This was a hack added before there were more powerful features like the array modifier. * Slow parent has been removed, never worked in 2.8. It was always unreliable for use in production due to depending on whatever frame was previously evaluated, which was not always the previous frame. * Particle instanced objects used to have their transform evaluated at the particle time. Now it always gets the current time transform. * Boids can no longer do predictive avoidance of force field objects, but still for other particles. Differential Revision: https://developer.blender.org/D4274
2019-01-31Fix T60432: Blender crashes when dragging objects from other scene from ↵Bastien Montagne
outliner.
2019-01-31Sculpt: disable undo flag for sculpt mask lassoCampbell Barton
While this is harmless, it did cause T55399 in the past. Sculpt adds it's own undo steps, so don't request the operator type to do it too. This is consistent with other sculpt operators.
2019-01-31Fix T59293: Can't assign shortcut to undo historyCampbell Barton
2019-01-31Cleanup: use doxy comments, clarify some textCampbell Barton
2019-01-31Fix edit-mesh undo using the current selectionCampbell Barton
Any meshes selected would be added to the mode when reading undo.
2019-01-31Cleanup: style, unused variableCampbell Barton
2019-01-31Cleanup: remove EM_IGNORE_LAYERCampbell Barton
Call ED_object_editmode_enter_ex instead.
2019-01-31Fix T61047: Undo editmesh separate crashesCampbell Barton
Favour G_MAIN in functions that might free it.
2019-01-31Fix image paint undo memory leakCampbell Barton
2019-01-31Fix T60660: Texture paint undo removes imageCampbell Barton
2019-01-31Undo System: add Main argument to encode/decodeCampbell Barton
Needed since we don't always have the context, and avoids adding G_MAIN into undo callbacks.
2019-01-31Fix T61028: Crash when entering wireframe viewClément Foucault
2019-01-31Cleanup: add trailing commasCampbell Barton
Improve clang-format output.
2019-01-30Fix T60378: All armatures reset positions on linked collection when ctrl+z ↵Bastien Montagne
used on anything. Issue actually exists since ages, probably 2.7x update system forced all armature proxies to be fully refreshed after an undo? In any case, proxy_from should only be reset for 'local' proxies (i.e. directly linked datablocks), not for linked proxies...
2019-01-30Merge branch 'blender2.7'Brecht Van Lommel
2019-01-30Cleanup: use better names for depsgraph driver relations.Brecht Van Lommel
Both the driven properties and driver targets were called targets, now make a distinction.
2019-01-30GP: Remove DEG_get_original_id() from draw managerAntonioya
Only keep this function when drawing to avoid COW overhead that reduce performance. After some changes I did some time ago, the use of original ID was not required and this only added depsgraph overhead and problems. This change solves the problems with updates in render mode. Related to T57484 and the changes requested by Sergey.
2019-01-30Fix T61017: node_shader_utils did not handle diffuse_color correctlyJacques Lucke
2019-01-30Fix default material using zero alphaCampbell Barton
2019-01-30Fix (unreported) memleak when copying object and its material with GP settings.Bastien Montagne
Like... seriously?
2019-01-30Fix T60957: ASSERT when reloading double-linked file.Bastien Montagne
Kind of funny to see that this has been missing presumably since the first version of library linking in Blender, and only gets noticed now. Then again, that was not really a critical issue, iirc write code ensures all libraries directly used get properly written, even if flags are incorrect.
2019-01-30Cleanup: use proper bitflag operators.Bastien Montagne
2019-01-30Cleanup: Unused function argumentSergey Sharybin
2019-01-30Cycles: improved rounding of sample chunks for resumable rendersSybren A. Stüvel
When using `--cycles-resumable-num-chunks N` to render a subset of the samples, having N close to the total number of samples causes rounding issues. For example, a file configured for 250 samples and 150 chunks should have 1.6666 sample per chunk. The old code rounded this to 2 samples per chunk, which would result in too many samples being rendered. When rendering a single chunk this doesn't matter much, but when larger chunk ranges are rendered with `--cycles-resumable-start-chunk` and `--cycles-resumable-end-chunk` the rounding errors start to add up. By multiplying with the number of chunks to render first, and only round to integers after that, this issue is solved. In the above example, rendering 3 chunks will correctly render 5 samples rather than 6. When the requested number of chunks is larger than the number of samples there will be duplicate samples (that is, sample N appearing both in chunk M and M+1). In this case a warning is printed to stderr. This is needed for T50977 Progressive render: use non-uniform sample chunks. Reviewed by: sergey Differential Revision: https://developer.blender.org/D4282
2019-01-30Fix T60974: Dyntopo crash on undo after object deletedCampbell Barton
Add the ability for undo steps to request memfile undo step added after them, useful for mode switching, where we need the data to exist for undo to enter the mode.
2019-01-30Versioning: add renaming utility functionCampbell Barton
Avoids accidents creating duplicate names. Also ensure screens are sorted on rename.
2019-01-30Cleanup: line lengthCampbell Barton
2019-01-29Partial fix for T60982: Editable anim settings in linked action.Bastien Montagne
This is only partially working, because some bAnimListElem items do not have any ID pointer set (for wome mysterious reason...), notably the 'group' ones. Will re-assign to @aligorith for that, this code is rather complicated and hard to follow (with all those macros ;) ).
2019-01-29Cleanup: typo in comment.Bastien Montagne
2019-01-29Workbench: Make Material transparency part of the rgba color pickerClément Foucault
It is only used for solid mode for now but could be used by eevee in the future.
2019-01-29Workbench: Opti: Only request OIT buffers if neededClément Foucault
2019-01-29Workbench: Support transparency from object color alphaClément Foucault
Support the alpha channel use of the object color in solid mode. The Transparency effect is still using the Xray algorithm and not true Alpha blending.
2019-01-29UI: Add Dynamic Topology toggle entry to Sculpt menuPablo Vazquez
Helps to find the shortcut (Ctrl+D) which wasn't exposed anywhere else than in search.
2019-01-29Fix: Add units to text offset_x and offset_y propertiesJoel Godin
Differential Revision: https://developer.blender.org/D4281
2019-01-29Fix T60067: some modifiers don't use shape keys correctlyJacques Lucke
2019-01-29Cycles: delay CUDA and OpenCL initialization to avoid driver crashes.Brecht Van Lommel
We've had many reported crashes on Windows where we suspect there is a corrupted OpenCL driver. The purpose here is to keep Blender generally usable in such cases. Now it always shows None / CUDA / OpenCL in the preferences, and only when selecting one will it reveal if there are any GPUs available. This should avoid crashes when opening the preferences or on startup. Differential Revision: https://developer.blender.org/D4265
2019-01-29Add missing Shader FX remapping to library querySergey Sharybin
2019-01-29Workbench: Add "Shadow" factor to XrayClément Foucault
This just maintain more parity accross the 2 visuals. Note that this is not "real shadowing" just the facing factor shadowing.