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
2018-11-30Cleanup: name macros w/ matching BEGIN/ENDCampbell Barton
2018-11-30Cleanup: name macros w/ matching BEGIN/ENDCampbell Barton
2018-11-30Cleanup: duplicate includeCampbell Barton
2018-11-30Cleanup: styleCampbell Barton
2018-11-30Cleanup: unused return argCampbell Barton
2018-11-29Fix leak in CPU brand checkCampbell Barton
2018-11-28Fix building gtests and bplayer after recent NumaAPI addition.Bastien Montagne
Seriously... like, seriously...
2018-11-28Tweaks for threading schedule for Threadripper2 and EPYCSergey Sharybin
The idea is to make main thread and job threads to be scheduled on CPU dies which has direct access to memory (those are NUMA nodes 0 and 2). We also do this for new EPYC CPUs since their NUMA nodes 1 and 3 do have access but only to a higher range DDR slots. By preferring nodes 0 and 2 on EPYC we make it so users with partially filled DDR slots has fast memory access. One thing which is not really solved yet is localization of memory allocation: we do not guarantee that memory is allocated on the closest to the NUMA node DDR slot and hope that memory manager of OS is acting in favor of us.
2018-11-28Add utility function to query CPU brand stringSergey Sharybin
2018-11-27Fix T56872: Edge slide gives invalid normalsCampbell Barton
Add the ability to skip overwriting normals.
2018-11-25Sequencer: remove unnecessary limit on transform rotation.Brecht Van Lommel
2018-11-25Cleanup: remove unused fileCampbell Barton
2018-11-22Fix T57989: File loaded as startupCampbell Barton
The file contents was used to check if the file was a startup file. Now pass in an argument from startup loading code instead.
2018-11-20Fix T57923: Freeze in mesh vnors computation code with some degenerated ↵Bastien Montagne
geometry. Second part of the fix: do not try at all to compute normals in degenerated geometry. Just loss of time and potential issues later with weird invalid computed values.
2018-11-20Fix T57923: Freeze in mesh vnors computation code with some degenerated ↵Bastien Montagne
geometry. Fix first part of it, the freeze itself being caused by float NAN values never comparing equal to anything, not even themselves.
2018-11-20Task scheduler: Optimize parallel loop over listsSergey Sharybin
The goal is to address performance regression when going from few threads to 10s of threads. On a systems with more than 32 CPU threads the benefit of threaded loop was actually harmful. There are following tweaks now: - The chunk size is adaptive for the number of threads, which minimizes scheduling overhead. - The number of tasks is adaptive to the list size and chunk size. Here comes performance comparison on the production shot: Number of threads DEG time before DEG time after 44 0.09 0.02 32 0.055 0.025 16 0.025 0.025 8 0.035 0.033
2018-11-20Removed superfluous NULL checkSybren A. Stüvel
2018-11-20Added MovieClip.fps read-only property to RNASybren A. Stüvel
This makes it possible for a Python script that loads a MovieClip into the clip editor to also change the scene frame rate to match.
2018-11-19Linux: list GVFS mount pointsRoel Koster
2018-11-16Call PRE_VIEW and POST_VIEW draw callbacks in movie clip editorSybren A. Stüvel
2018-11-15Cleanup: CommentsSergey Sharybin
2018-11-14Cleanup: comment block tabsCampbell Barton
2018-11-14Cleanup: naming for paint modesCampbell Barton
- Rename ePaint* -> PAINT_MODE_*. - Use PAINT_OVERLAY_ prefix for eOverlayControlFlags.
2018-11-14WM: enforce descriptions being NULL or definedCampbell Barton
Without this bugs slip through that don't null check the descriptions since many were set to empty strings.
2018-11-14Cleanup: python doc-stringsCampbell Barton
Indentation & trailing space.
2018-11-13Cleanup: use lowercase 2d/3d in function namesCampbell Barton
2018-11-11PyAPI: update keyword listCampbell Barton
2018-11-10BMesh: backport minor changes from 2.8Campbell Barton
2018-11-10PyAPI: add imports arg to BPY_execute_stringCampbell Barton
Allows for avoiding `__import__` in expressions, was already supported for BPY_execute_string_as_* API calls.
2018-11-08Render API: Support arbitrary length for custom image metadata fieldsLukas Stockner
2018-11-07Cycles: Added Embree as BVH option for CPU renders.Stefan Werner
Note that this is turned off by default and must be enabled at build time with the CMake WITH_CYCLES_EMBREE flag. Embree must be built as a static library with ray masking turned on, the `make deps` scripts have been updated accordingly. There, Embree is off by default too and must be enabled with the WITH_EMBREE flag. Using Embree allows for much faster rendering of deformation motion blur while reducing the memory footprint. TODO: GPU implementation, deduplication of data, leveraging more of Embrees features (e.g. tessellation cache). Differential Revision: https://developer.blender.org/D3682
2018-11-07Cleanup: use STRPREFIX for mount point checksCampbell Barton
From D3846 by @kostex
2018-11-07Cleanup: use BLI_compiler_compat.h for BLI_INLINECampbell Barton
2018-11-07Cleanup: renmae ePaintTexture(Projective) -> 3DCampbell Barton
Matches ePaintTexture2D, less verbose.
2018-11-04Fix T57388: Blender Internal + Freestyle viewport render wrongly using FSAA.Irie Shinsuke
2018-11-04Fix ghash masking out upper bits on 64bit systemsCampbell Barton
The code this was taken from assumes a 'size_t' result, which isn't the case here. In practice the bucket distribution wasn't bad, even so this was a nop so best fix.
2018-11-01Fix T57529: 2D image paint fill tool not taking into account alpha.Brecht Van Lommel
2018-10-30UI: add uiItemMenuFN which frees it's argumentCampbell Barton
2018-10-29Fix assert weight painting after undoCampbell Barton
2018-10-29Modifier: mask threshold optionCampbell Barton
D3834 by @Allosteric
2018-10-28Fix snaps appearing in system bookmarks on Linux.Roel Koster
Differential Revision: https://developer.blender.org/D3838
2018-10-25WM: minor changes to cursor APICampbell Barton
2018-10-24Fix (unreported) bad halding of ID usercounts when fully copying a scene.Bastien Montagne
2018-10-24BMesh: inline index lookupsCampbell Barton
For release builds this is now the same as indexing the array directly.
2018-10-22Windows: Enable python debugging in Visual Studio.Ray Molenkamp
see D3817 for technical details, and https://wiki.blender.org/wiki/Tools/Debugging/Python_Visual_Studio for a end user quick-start guide. Differential Revision: https://developer.blender.org/D3817
2018-10-22Tentative fix for T57066: Daily build of Blend 2.79 crashes on OSX Mojave.Bastien Montagne
Looks like we need to explicitly set i18n language to default value on some OSs... Unless that 'need to create new translated-name IDs in versionning code for startup file' situation is really seldom. Anyway, hopefully that will fix the crash.
2018-10-22Prevent G.fileflags changes when WM_OT_save_mainfile() is called from scriptCampbell Barton
This is to solve an issue where a blend file could be compressed unbeknownst to the artist. This happened in the following situtation: - Artist edits an uncompressed blend file. - Some script saves a compressed blendfile to a separate location. - When the artist saves the file (s)he is editing (File>Save, or Ctrl+S), it was silently compressed. Cherry pick from: cd3b313d5f44a10a1150bf1ddb560775d1bcd827
2018-10-22Fix T57328: 'Save As Copy' prints warningCampbell Barton
2018-10-19Fix T57284: poor result UV unwrapping concave n-gon.Brecht Van Lommel
2018-10-18Fix Copy Selection to Buffer breaking library paths.Brecht Van Lommel
This is a bug experienced by animators in the Blender Studio that developers have been trying to fix for a /long/ time. What happens is that partial file writing extracts the needed datablocks from the main list of datablocks into a smaller one. Afterwards they are added back to the main list, but in some cases not exactly in the same order. There is file path remapping code that depends on the datablocks being in exactly the same order as before, and when this was not the case filepaths would get swapped between datablocks The reason datablocks are not restored in the same order is because the sorting of datablocks by name is a) case insensitive and b) undefined if there are multiple datablocks with the same name from different libraries. This should be made well defined, but the fix in this commit is simpler. The way animators ran into this bug is that they use the Copy Attributes addon a lot, which has as the first item in the menu Copy Selection to Buffer. In some cases this would be clicked accidentally when menu is near the edge of the window, breaking the library paths which would only be noticed a much later on file save and reload. The way this bug was finally tracked down is that it was suspected that the undo system was the cause, and so Bastien added library validation for undo. When Hjalti then did undo and noticed the error, he remembered accidentally clicking Copy Selection to Buffer just before, and we could finally reproduce the bug.