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-23Cycles: Improved robustness of hair motion blur.motion_curve_fixStefan Werner
In some instances, the number of control vertices of a hair could change mid-frame. Cycles would then be unable to calculate proper motion blur for those hairs. This adds interpolated CVs to fill in for the missing data. While this will not necessarily result in a fully accurate reconstruction of the guide hair, it preserves motion blur instead of disabling it. Reviewers: #cycles, sergey Reviewed By: #cycles, sergey Subscribers: sergey, brecht, #cycles Tags: #cycles Differential Revision: https://developer.blender.org/D3695
2018-09-13WM: move mousemove out of internal undo functionCampbell Barton
This causes a feedback loop in 2.8x, where gizmo redo caused fake mousemove that executed gizmo again. Move the mousemove into the undo/redo operator.
2018-09-13PyAPI: remove operator methods that leak memoryCampbell Barton
2018-09-13Tentative fix for T56770: Crash after set language to Simplified Chinese.Bastien Montagne
That bug probably did not affect 2.7x, only 2.8 with COW copying IDs in threads... But root of the issue is that underlying boost i18n lib does not support well multi-threaded access. So simply forbid any translation from non-main thread. This *may* be an annoying limit at some point, but doubt it will be any issue currently.
2018-09-13PyAPI: add API call to get an operators typeCampbell Barton
Getting the instance leaks memory and was only meant to be used for generating docs.
2018-09-13Cleanup: _bpy.ops utility to lookup an operatorCampbell Barton
2018-09-13Cleanup: use PyImport_GetModuleDictCampbell Barton
Replace direct access using PyThreadState_GET
2018-09-13Cleanup: GCC ignored qualifier warningCampbell Barton
2018-09-12Fix T56662: Autocomplete for texture slot Crash (in console).Bastien Montagne
That pointer can be NULL, RNA default string handling does not support that. (that whole uv_layer prop is quite nasty actually, since it does not own that string, always borrows it from some other data :((( ).
2018-09-12Cleanup: More correct terminology workSergey Sharybin
Matches threading API.
2018-09-12Cleanup: remove alpha_check variable from DNACampbell Barton
Just pass as an argument.
2018-09-11Build: require OpenJPEG 2.x minimum, remove bundled version.Brecht Van Lommel
* WITH_SYSTEM_OPENJPEG is removed and is now always on, this was already the case for macOS and Windows. * This should not break existing Linx builds. If there is no new enough OpenJPEG installed, CMake will no find libopenjp2 and WITH_IMAGE_OPENJPEG will be disabled. * install_deps.sh was updated with new package names, since distributions put this version in a new package. Differential Revision: https://developer.blender.org/D3663
2018-09-11Correct own error in recent transform orientation changesCampbell Barton
2018-09-11UI: split theme draw style into separate fieldCampbell Barton
Was using UI_BLOCK_LOOP to control draw style, this meant we couldn't use popup theme colors for cases where it the interface has the same purpose as a popup but happens not to use this flag.
2018-09-08Fix T56720: Lattice: crash on setting points_u/v/w from python.Bastien Montagne
One need to check that there is something to free, before trying to free it...
2018-09-07Cleanup: move area API into own functionCampbell Barton
2018-09-07Fix normal transform orientation calculationCampbell Barton
When using the 'normal' orientation, the normal would be ignored if the plane couldn't be calculated. Now use only the normal if the plane is zero length, this was already done, just not in all cases.
2018-09-06Fix T56698: saving render result from compositing as EXR is empty.Brecht Van Lommel
2018-09-06Compositor: Always use AA on masksSergey Sharybin
In a real world it is very weird to disable AA on a mask, it will give ugly looking result. For some fast preview passes (like in the node preview) the system can decide to disable AA without asking user to do anything. One thing we can consider doing is to remove Feather option as well. If real compo becomes measurably slower in cases when mask has no real feather, we can disable feather internally, without user input. Disabling feather in the interface is like making things faster but giving a wrong result, which doesn't sound that helpful either. Reviewers: brecht Reviewed By: brecht Subscribers: hype, sebastian_k Differential Revision: https://developer.blender.org/D3677
2018-09-06Fix ruler angle arc displaying past endpointsCampbell Barton
2018-09-05CCG: Remove number of layers from keySergey Sharybin
The issue there was that number of layers did not include normals, while element size counts bytes used by normals. This sounds very fragile and dangerous to work further. Also, one value can easily be delivered from another, so it is redundancy going on here. Possible difference now is that multires subdivision will copy normals to a higher levels. Shouldn't be big of a problem, since leaving old normals and updating coordinates is not correct either.
2018-09-05Cleanup: replace doxy @ with backslashCampbell Barton
The rest of Blender uses backslashes.
2018-09-05Cleanup: styleCampbell Barton
2018-09-05Fix T54152: --env-system-scripts fails on win32Ray Molenkamp
2018-09-05Fix VSE cut both-sides optionCampbell Barton
Was ignoring the option, using the mouse in all cases. D3671 by @ISS w/ edits.
2018-09-04Cleanup: use const arg for BLI_rect inside checkCampbell Barton
2018-09-04UI: cleanup tooltip bounds clampingCampbell Barton
Wasn't properly clamping on the window minimum.
2018-09-03ClosthCollision: fully avoid computing BVHTree when we have no collision ↵Bastien Montagne
objects to test against. Followup to rBc6bbe6c5aac29, much more elegant solution to the problem. ;)
2018-09-03Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3668
2018-09-03Fix (unreported) potentially giant memory leak in Cloth collision solver.Bastien Montagne
Not freeing its BVHTree in case there were no collision objects, could quickly lead to hundreds of MB of memleak!
2018-09-03PyAPI: add optional imports to expression eval APICampbell Barton
Avoids having to use `__import__` to access modules.
2018-09-02Cleanup: move keymap helpers into own fileCampbell Barton
2018-09-02Cleanup: comment blocksCampbell Barton
2018-08-31Python: Enable MASS unit in FloatPropertyMonique Dewanchand
MASS unit was already implemented for the C api. Only making sure it is accessible in the python api. Also added 'CAMERA' to the documentation as a valid option.
2018-08-31Remove CCGDM from PBVHSergey Sharybin
The statement that PBVH needs to keep track of CCGDM is wrong, PBVH itself does not care about CCGDM at all, and it's weird for it to carry on this beast so others can access. Even more, nobody will actually caring about CCGDM itself, all the usages were checking whether there is CCGDM or not. This is as good as simply checking PBVH type. Tested with an original report T53551 and everything is still stable.
2018-08-31PyAPI: replace checks for invalid input w/ assertCampbell Barton
Was returning -1 as a bool argument, in this case the caller needs to ensure non-null args.
2018-08-31C/Python API: Add PyC_RunString_AsIntPtrCampbell Barton
Utility to get an int or pointer from a Python expression.
2018-08-31Cleanup: rename WM_keymap_find -> WM_keymap_ensureCampbell Barton
2018-08-30Fix T56610: crash saving images with python API.Brecht Van Lommel
2018-08-29Cleanup: indentationCampbell Barton
2018-08-28cmake: adjustments required for lib-upgrade on windows.Ray Molenkamp
2018-08-26Cycles: change default emission color to 1 1 1.Brecht Van Lommel
2018-08-26Cleanup: styleCampbell Barton
2018-08-24Fix T56491: Undo crash while preview jobs runCampbell Barton
While the crash is in 2.8, it's possible undo operates on data which isn't only owned by the current scene (any object for eg). Thanks to @mont29 for suggesting the fix.
2018-08-24UI: always align item w/ labelCampbell Barton
2018-08-24RNA: avoid redundant property lookups in UI APICampbell Barton
2018-08-23Fix T56506: Different behaviour of Bounds Clamp with positive and negative axis.Bastien Montagne
Small typo on minus sign position... ;)
2018-08-22Cleanup: use EDBM prefixCampbell Barton
2018-08-21UI: disable new text hinting from D3201 by default for now.Brecht Van Lommel
This changes the text hinting setting to be an enum with options Auto / None / Slight / Full. The default is Auto which currently disables hinting. The hinting was tested with a new FreeType version, but this is not what is used on the buildbots an official release environment, and the fonts look quite bad because of that. Once FreeType has been upgraded we can change the default. Even then the results are not ideal, perhaps due to missing subpixel positioning and linear color blending support in BLF.
2018-08-21Python API: expose missing LAYER_MEMBER property type registration.Kenneth Perry
Differential Revision: https://developer.blender.org/D3628