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
2017-08-01Merge branch 'master' into blender2.8Campbell Barton
2017-08-01Cleanup: use static vars where appropriateCampbell Barton
2017-08-01Fix fcurve color assignmentCampbell Barton
2017-07-31Fix T52224: auto IK not respecting length, after recent bugfix.Brecht Van Lommel
2017-07-31Code cleanup: fix warning with clang.Brecht Van Lommel
2017-07-31Fix T52232: Crash in RNA_enum_from_value while inspecting compositor image ↵Bastien Montagne
node properties in outliner. Bug was in RNA nodes code actually, itemf functions shall never, ever return NULL! Note that there were other itemf functions there that were potentially buggy. Also harmonized a bit their code.
2017-07-31Fix two issues with recent changes to number display while editing them.Bastien Montagne
* Numbers with units (especially, angles) where not handled correctly regarding number of significant digits (spotted by @brecht in T52222 comment, thanks). * Zero value has no valid log, need to take that into account!
2017-07-31Eevee: SSR: Change clamp to a real clamp and add Max Roughness.Clément Foucault
Clamp will now works as in Cycles. Max roughness limit ssr to a certain roughness level: for noise / performance tweaking.
2017-07-31Eevee: Draw background after depth prepass.Clément Foucault
Reduce overdraw. 0.4ms goes to 0.01ms if background is completely occluded.
2017-07-31Eevee: SSR: Rewrote the raytracing algorithm.Clément Foucault
It now uses a quality slider instead of stride. Lower quality takes larger strides between samples and use lower mips when tracing rough rays. Now raytracing is done entierly in homogeneous coordinate space. This run much faster. Should be fairly optimized. We are still Bandwidth bound. Add a line-line intersection refine. Add a ray jitter between the multiple ray per pixel to fill some undersampling in mirror reflections. The tracing now stops if it goes behind an object. This needs some work to allow it to continue even if behind objects.
2017-07-31Fix glitch updating manipulator after undoCampbell Barton
Running undo would notify manipulators to refresh, but this still allowed for events in the queue to be handled, where manipulators could be drawn for selection before their refresh callback runs. This made Python manipulators raise exceptions about referencing invalid data (or crash). Now tag manipulator update on file load (including undo) and ensure the refresh callback runs before drawing manipulator selection. Also split manipulator map refresh flag in two since selection doesn't perform the same operations as regular drawing.
2017-07-31Cleanup: use enum typedef for manipulator drawstepCampbell Barton
2017-07-31Correct last commit, for-loop included NULL checkCampbell Barton
2017-07-31Cleanup: remove next/prev from manipulator mapCampbell Barton
2017-07-30Fix manipulator Python API crash w/ undoCampbell Barton
Split up manipulator free & unlink, so freeing window data doesn't run callbacks that might use freed data.
2017-07-30Fix manipulator keymap initializationCampbell Barton
Update flag was cleared before being checked when registering after load.
2017-07-30Manipulator: Check we don't add multiple timesCampbell Barton
2017-07-30Revert "Fix manipulator handles getting added each refresh"Campbell Barton
This reverts commit 122706db9cd23c88775474750e99b57e74a3b9e5. Would loose manipulators, will check for duplicates instead.
2017-07-30BLI_memiter: minor cleanupCampbell Barton
2017-07-29DwM: use BLI_memiter for draw storage & iterationCampbell Barton
This will only be noticeable for drawing many instances. In contrived use-case with many instances, and `USE_PROFILE` disabled this can close to double playback FPS. The option to disable this is left in the code in case we want to debug memory use. See D2756 for details.
2017-07-29DwM: add ability to disable the timerCampbell Barton
This interferes with benchmarking draw times, so this makes it easy to turn off.
2017-07-29BLI_memiter: Small API for many small allocationsCampbell Barton
- Each allocation can be a different size (but should be smaller than the chunk size). - Result can be looped over in order of allocation. - Allocations are aligned to pointer size to avoid unaligned reads.
2017-07-29Property path generation fixesAleksandr Zinovev
2017-07-29Remove volatile, causing issues w/ GCC/ubsanCampbell Barton
Should remove from master since its workaround for Cygwin but too close to release.
2017-07-29Merge branch 'master' into blender2.8Campbell Barton
2017-07-29Cleanup: quiet picky ubsan warningsCampbell Barton
2017-07-29Cleanup: multistatement-macros warningCampbell Barton
2017-07-29Cleanup: multistatement-macros warningCampbell Barton
2017-07-28Merge branch 'master' into blender2.8Campbell Barton
2017-07-28Replace magic numbers with deprecated namesCampbell Barton
The names aren't meaningful but means it wont accidentally use valid names. Also remove textured-font setting
2017-07-28Fix T52195: Sculpt from Python failsCampbell Barton
When calling sculpt from Python, setting 3D 'location' but not 2D 'mouse' stopped working in 2.78. Now check if the operator is running non-interactively and skip the mouse-over check.
2017-07-28WM: OP_IS_INVOKE was being incorrectly setCampbell Barton
Calling an operator with EXEC_* context would still set the invoke flag.
2017-07-28Fix T52213: Enum drivers no longer workCampbell Barton
Regression in D1812: PyDriver variables as Objects Taking the Python representation is nice in general but for enums it would convert them into strings, breaking some existing drivers.
2017-07-28Merge branch 'master' into blender2.8Campbell Barton
2017-07-28Resolve T45301 by adding option for old behaviorCampbell Barton
Some users really liked previous behavior, so making it an option. Cursor Lock Adjustment can be disabled to give something close to 2.4x behavior of cursor locking. When lock-adjustment is disabled placing the cursor the view. This avoids the issue reported in T40353 where the cursor could get *lost*.
2017-07-28Cleanup: clear deprecated UI flagsCampbell Barton
Also adds cursor-lock flag, to be used in next commit.
2017-07-28Fix T52156: Hair dynamics broken with density textureLuca Rood
Even strands that were excluded by the density texture were being added to the DM passed to cloth, but these ended up having some invalid data, because they were not fully constructed. This simply excludes `UNEXISTED` particles from the DM generation, as would be expected.
2017-07-28Fix crash when duplicating objectSergey Sharybin
This fixes null pointer check fiasco.
2017-07-28Fix T52148: Point Density Texture ID User decrement error related to the ↵Bastien Montagne
Object field. Note that fix is not perfect, systematically make refcounting of all IDs assigned to node's id pointer, which breaks the 'do not refcount scene/object/text datablocks' principle... But besides that principle being far from ideal in general, it becomes pretty much impossible to apply when using //generic// ID pointer, unless we add some kind of type data to that pointer somehow. So for now, better to live with that, than having broken usercount.
2017-07-28Depsgraph: Re-use evaluated mesh across frames and remove time dependency ↵Sergey Sharybin
from all CoW components This commit is a work forward having less updates during playback, which speeds things up a lot here. The idea is simple: stop update all copy-on-write datablocks (which implies full re-evaluation actually) on frame change and re-use existing evaluated meshes as much as possible. This brings playback speed to 24 fps on the dino test scene here. Performance drops down a lot when armature is animated tho, but that's because of need of tangent space calculation which we can't do much about from just a dependency graph. Hopefully this doesn't make copy-on-write too unstable, quick tests here are surviving fine.
2017-07-28Fix T52212: Vgroups doesn't work after Carve BooleanSergey Sharybin
2017-07-28Fix potential 'divide-by-zero' in our UI fitting code.Bastien Montagne
Reported by coverity, better fix even if highly unlikely to happen...
2017-07-28Fix T52208: Using UI_BUT_REDALERT flag for UI_BTYPE_KEY_EVENT buttons ↵Bastien Montagne
crashes Blender. but pointer was not assigned in that case...
2017-07-27Prevent crash when duplicating object which doesn't have evaluated base ↵Sergey Sharybin
properties yet This mainly happens when copy on write is enabled.
2017-07-27Copy on write: Prevent crash when duplicating object with particle systemSergey Sharybin
Transform system was using global main, which might have been pointing to a freed scene layer.
2017-07-27Fix UI messages...Bastien Montagne
2017-07-27Depsgraph: Attempt to keep evaluated mesh when possibleSergey Sharybin
Currently wouldn't make any difference, but required for upcoming work of getting rid of time dependency for copy-on-write component.
2017-07-27Depsgraph: Cleanup, variable nameSergey Sharybin
2017-07-27Depsgraph: Cleanup, use some utility functions to shorten construction codeSergey Sharybin
Still some cleanup is possible.
2017-07-27Depsgraph: Create ID nodes on build-time expansion using node builderSergey Sharybin
This will allow us to do some builder-specific trickery when ID nodes are requested to be created from build-time expansion.