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-09-08Merge branch 'master' into viewport_bvh_selectviewport_bvh_selectJulian Eisel
2016-09-08Fix T49283: Crash in BKE_ptcache_make_particle_key.Bastien Montagne
This is really hack-fix actually, not sure why `get_pointcache_keys_for_time()` seems to assume it will always find key for given part index at least for current frame, and whether this assumption is wrong or whether bug happens elsewhere... Anyway, this is to be wiped out in 2.8, so no point loosing too much time on it, for now merely returning unchanged (i.e. zero'ed) ParticleKeys in case index2 is invalid. Won't hurt anyway, even if this did not crash in release builds, would be returning giberish values.
2016-09-08Fix compilation error: Shadowing of variableSergey Sharybin
2016-09-08Fix strict compiler warningsSergey Sharybin
2016-09-08Fix compilation error: missing forward declarationSergey Sharybin
2016-09-08Fix T49286: Compilation error with XCode 7.0Sergey Sharybin
Weirdly enough, this version of XCode seems to have static_assert() even when NOT using C++11. This is totally weird and counter intuitive since static_assert() is supposed to be C++11 onlky feature. Can XCode stop using future, please? :)
2016-09-08Cycles: Fix OpenCL speed regression introduced with the improved bump mappingLukas Stockner
The two SVM nodes added with e7ea1ae78c caused a slowdown on AMD cards when rendering with OpenCL, whether displacement was used or not. In the Barcelona Pavillon scene on a RX480, this would cause a 12% slowdown. Therefore, this commit adds a additional flag for feature-adaptive compilation so that the new SVM nodes are only enabled when they are needed (Node tree connected to the Displacement output and Displacement type set to Both). Also, the nodes were also added to shaders when the Displacement Type was set to Bump (the default), which was unneccessary and is fixed now. Thanks to linda2 on IRC for reporting and testing and to maiself for help with the displacement shader code. This fix might be relevant for 2.78, but it should be tested further before including it.
2016-09-07GPencil UI: Ensure "Move to Color" can be found from the colors panel ↵Joshua Leung
dropdwon too
2016-09-07GP Interpolation: Mark created frames as being "breakdowns"Joshua Leung
This brings this tool more in line with the Breakdowner for armature animation, with which it shares many commonalities.
2016-09-07Fix: GPencil drawing sessions now respect limits for maximum undo stepsJoshua Leung
When drawing with Grease Pencil "continous drawing" for a long time (i.e. basically, drawing a very large number of strokes), it could be possible to cause lower-specced machines to run out of RAM and start swapping. This was because there was no limit on the number of undo states that the GP undo code was storing; since the undo states grow exponentially on each stroke (i.e. each stroke results in another undo state which contains all the existing strokes AND the newest stroke), this could cause issues when taken to the extreme.
2016-09-07Code Cleanup: Deduplicate undo node freeing codeJoshua Leung
2016-09-07Fix T49273: Crash during access to dupli weights at launch time.Bastien Montagne
See commit's comments for details, but this boils down to: do not try to use purely runtime cache data as a 'real' ID pointer in readcode, it's likely doomed to fail in some cases, and is bad practice in any case! Thix fix implies dupliweight's object will be invalid until first scene update (i.e. first particles evaluation).
2016-09-07GPencil: New interpolate strokes operatorsAntonioya
Two new modal operators to create a grease pencil interpolate drawing for one frame or a complete sequence between two frames. For drawing the temporary strokes in the viewport, two drawing handlers have been added to manage 3D and 2D stuff. Video: https://youtu.be/qxYwO5sSg5Y The operator shortcuts are Ctrl+E and Ctrl+Shift+E. During the modal operator, the interpolation can be adjusted using the mouse (moving left/right) or the wheel mouse.
2016-09-07OpenSubdiv: Support multiple materials drawing in Cycles textured viewSergey Sharybin
Consider for inclusion into 2.78.
2016-09-06Add XK_ISO_Left_Tab to ghost's known X11 keydefines...Bastien Montagne
2016-09-06Cleanup previous commit...Bastien Montagne
2016-09-06GHOST X11 keyboard: Attempt to fix issues with modifier keys on some systems.Bastien Montagne
Could not reproduce it here, but since users having the issue claims it comes from rB16cb9391634dcc50e, let's try to use again ugly `XLookupKeysym()` for those modifier keys too...
2016-09-06[cmake/cpack] allow override of package namelazydodo
Cpack generates a standard filename with git information in it, which might not always be wanted for release builds, this patch adds an option to override that default filename. Reviewers: sergey, juicyfruit Reviewed By: juicyfruit Differential Revision: https://developer.blender.org/D2199 ammended to fix: wrong variable name in main CMakeLists.txt
2016-09-06Revert "Depsgraph: Prioritize evaluation of the new scheduled nodes"Sergey Sharybin
This reverts commit 9444cd56db1a4e43d03fa8c735cd893b2e74b913. This commit caused some flickering in the bones when swapping IK to Fk. While it's unclear why such change caused any regressions, let's revert it to unlock the studio.
2016-09-06[cmake/cpack] allow override of package namelazydodo
Cpack generates a standard filename with git information in it, which might not always be wanted for release builds, this patch adds an option to override that default filename. Reviewers: sergey, juicyfruit Reviewed By: juicyfruit Differential Revision: https://developer.blender.org/D2199
2016-09-06Fix T41883: Strip keyframes not respected for scenes rendered by other scenesSergey Sharybin
2016-09-06Add script which scales splash screen downSergey Sharybin
Based on reading documentation around. This particular version is based on the ImageMagic documentation which could be found there: http://www.imagemagick.org/Usage/filter/ http://www.imagemagick.org/Usage/filter/nicolas/ Current filter is based on measuring mean error with the current splash screen and choosing combination of parameters which gives minimal mean error.
2016-09-05cleanup: macro whitespace \ alignmentMike Erwin
Gotta be careful mixing tabs & spaces. This commit uses 4-space indent to align the line continuation markers. Follow-up to 3b52c4056aaf
2016-09-05Fix cast shadows (material option) in the viewportMike Erwin
Fix cast shadows options (in material tab) not working in the viewport. An off-by-one error. See D2194 for more. Committing for Ulysse Martin (youle) who found & fixed this.
2016-09-05Fix T49252: Crash when image textures used with true displacementMai Lavelle
2016-09-05UI: Ctrl+Tab and Ctrl+Shift+Tab to cycle through space context "tabs"Julian Eisel
In User Preferences, Properties Editor and toolshelf, Ctrl+Tab and Ctrl+Shift+Tab now activates the next or previous space context (or category in case of toolshelf tabs), respectively. For Properties Editor such functionality was completely missing, only toolshelf allowed cycling using ctrl+mousewheel (or only mousewheel while hovering tab region). Ctrl+Tab and Ctrl+Shift+Tab are common web browser shortcuts, so they're a reasonable choice to go with. Reaching the first/last item doesn't cause the cycling to stop, we continue at the other end of the list then. (I didn't add this to Ctrl+Mousewheel toggling in toolshelf since I wanted to keep its behavior unchanged.) We could get rid of (Ctrl+)Mousewheel cycling in toolshelf, but this may break user habits. The cycling happens using a new operator, UI_OT_space_context_cycle, for toolshelf tabs it's hardcoded in panel handling code though. Generalized rna_property_enum_step a bit and moved it to rna_access.c to allow external reuse. Reviewed By: venomgfx Differential Revision: https://developer.blender.org/D2189
2016-09-05OpenSubdiv: Fix missing ORCO when enabling OSD but having dependency to the ↵Sergey Sharybin
geometry Was causing huge viewport lags. Reported by angavrilov in IRC, thanks! Safe and nice for 2.78.
2016-09-05Fix T49251: moving smoke domain with additional resolution causes crash.Alexander Gavrilov
This is a bug in the multithreaded task manager in negative value range. The problem here is that if previter is unsigned, the comparison in the return statement is unsigned, and works incorrectly if stop < 0 && iter >= 0. This in turn can happen if stop is close to 0, because this code is designed to overrun the stop by chunk_size*num_threads as the threads terminate. This probably should go into 2.78 as it prevents a crash.
2016-09-05Fix own mistake in recent rB8b2a45052093, broke saving render results as ↵Bastien Montagne
images in some cases. Reported by sebastian_k over IRC, thanks. To be backported to 2.78.
2016-09-05Attempt to fix compilation error with static boost on certain platformsSergey Sharybin
This was reported in T49231.
2016-09-05Fix T35333: Update some WM/UI API functions docstrings.Bastien Montagne
Based on patch by @codemanx, but with slightly less verbose descriptions. More detailed behavior etc. rather belongs to doc/python_api/examples/bpy.ops.x.py imho.
2016-09-05Fix T49226: Incorrect Material viewport shading of Cycles Normal Map node in ↵Sergey Sharybin
Edit mode for an object with Array modifier Was incorrect indexing done in the array. Caused by 5abae51. Not sure why it needed to be changed here, but array here is supposed to be a loop data, so bringing back loop index as it originally was. The shading was wrong in edit mode with BI active as well (so it's not like it's needed for BI only). Patch in collaboration with Alexander Gavrilov (angavrilov), thanks! Should be double-checked and ported to 2.78.
2016-09-05Fix glUniform called from glBegin/glEnd blocksSergey Sharybin
Was causing some invalid operations in OpenGL. After more testing should be fine for 2.78.
2016-09-05Fix T49220: Vertex paint doesn't work with OpenSubdivSergey Sharybin
It's a bit tricky to align vertex color data between Blender and OpenSubdiv so for now we simply disable OpenSubdiv in the paint modes. Safe for 2.78.
2016-09-05CMake: Skip addons_contrib for release candidate buildsSergey Sharybin
Nowadays release candidates are supposed to be as close to the final release as possible. Safe for 2.78 release branch.
2016-09-05API doc: add new pure-rsync py script to update API doc on Blender server.Bastien Montagne
The other one (sphinx_doc_gen.sh) needs an ssh account on the server to work - and I hate bash, too! :P
2016-09-05We are in bcon again, so master goes back to alpha in release cycle.Bastien Montagne
2016-09-05Cycles: Fix unreported - Missing node group for the Camera NodeLukas Stockner
Thanks to linda2 for reporting in IRC.
2016-09-05Alembic: fix parenting issues when an object has multiple curves/pointsKévin Dietrich
subobjects.
2016-09-05Fix T49249: Alembic export with multiple hair systems crash blenderKévin Dietrich
Crash was due to a name collision in Alembic objects caused by the fact that names derive from the one of the Blender object. An object having multiple particles system would thus give its name to various subobjects. Now use the name of the particles system for the Alembic object.
2016-09-05Correction to previous commit (PEP 8)Julian Eisel
2016-09-05Combine all Proportional Editing options under one menuJulian Eisel
Image of the result of this patch: {F352849} The only thing different from the above image and this patch is I added a colon after "Falloff" after I took the screen shot. Reviewers: Severin, meta-androcto Subscribers: plyczkowski Tags: #bf_blender, #user_interface Maniphest Tasks: T33436 Differential Revision: https://developer.blender.org/D2195
2016-09-05Fix menu drawing printing 'unknown operator' warning when building without ↵Julian Eisel
WITH_BULLET
2016-09-04Fix a few OpenCL compiler warnings.Brecht Van Lommel
2016-09-03fix: not initialised variable can crash blender (related to modifiers with ↵Gaia Clary
cage editing enabled)
2016-09-03Fix T48911: Fix T48847: Issues with some shortcuts on non-US latin ↵Bastien Montagne
keyboards, and with non-first layouts. This is a tentative fix, own tests here seem to be working OK, but don't think it's safe enough to be backported to 2.78.
2016-09-03Fix T49228: Separate by material, materials dissappear after reload.Bastien Montagne
Yet another mismatch where code would decrease usercount (of Material here) but never increase it again when re-assigning the datablock...
2016-09-03Fix T49229: ID user decrement error when deleting group instance twice.Bastien Montagne
Another great example of inconsistency in usercount handling - dupli_group was considered as refcounted by readfile.c code (and hence by library_query.c one, which is based on it), but not by editor/BKE_object code, which never increased group's usercount when creating an instance of it etc. To be backported to 2.78.
2016-09-02Point submodules to latest master branchesSergey Sharybin
We did not update them for really long time and the currently used hashes are quite old and probably wouldn't work without manually updating all submodules. Not as if it's something totally crucial (we ask to update submodules all the times and that's what `make update` does) but updating hashes will save some cloning/checkout time.
2016-09-02Blender 2.78 commit!Sergey Sharybin
Includes: - Version bump to 2.78 - Doxy file update - New splash screen - Wrapped some do_versions with version check - Updated template to use proper font After poking around a lot it seems Droid Sans was used during 2.7x series. (or at least difference between using this font and comparing to previous splash screens gives none visible difference).