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
2018-09-18LookDev: Use black background color if world is not presentClément Foucault
2018-09-18StudioLight: Fix crash when closing blenderClément Foucault
The studiolight was being free after the window manager and was attempting to stop the job again.
2018-09-18Fix T54685: EditMesh UV's transform snapping only checks active objectAlan
Reviewers: dfelinto https://developer.blender.org/D3653
2018-09-18UV_OT_align: Cleanup (use enum instead of chars for modes enumDalai Felinto
Also tested the straighten option and it is working-ish. That said, I think straighten should take all the meshes vertices to determine the line you want to use as reference. However we would need a different way to determine the first and last uvs to use as reference for the line.
2018-09-18Splash: add first time setup and templates to splash screen.Brecht Van Lommel
The first time setup screen only has the interaction preset currently, some more work is needed to be able to set e.g. the language or compute device here as in the mockups. The splash screen stayed the same for now, to make room for the templates most of the links are now in the Help menu. If there are no recent files yet the links still show. The splash screen buttons implementation was fully moved to Python, in the WM_MT_splash menu.
2018-09-18Workspaces: move 2D Animation, VFX and Video workspaces into own templates.Brecht Van Lommel
These can now be acessed from the File > New, Ctrl+N, or the splash screen. Since these are application templates, users can save a separate startup.blend for each. User preferences are shared between these templates though. This also fixes some issues in the default startup.blend (triangulated cube..). Differential Revision: https://developer.blender.org/D3690
2018-09-18Application Templates: make templates more prominent in the UI.Brecht Van Lommel
The goal here is to make app templates usable for default templates that we can ship with Blender. These only have a custom startup.blend currently and so are quite limited compared to app templates that fully customize Blender. But still it seems like the same kind of concept where we should be sharing the code and UI. It is useful to be able to save a startup.blend per template, and I can imagine some scripting being useful in the future as well. Changes made: * File > New and Ctrl+N now list the templates, replacing a separate Application Templates menu that was not as easy to discover. * File menu now shows name of active template above Save Startup File and Load Factory Settings to indicate these are saved/loaded per template. * The "Default" template was renamed to "General". * Workspaces can now be added from any of the template startup.blend files when clicking the (+) button in the topbar. * User preferences are now fully shared between app templates, unless the template includes a custom userpref.blend. I think this will be useful in general, not all app templates need their own keymaps for example. * Previously Save User Preferences would save the current app template and then Blender would start using that template by default. I've disabled this, to me it seems it was unintentional, or at least not clear at all that saving user preferences also makes the current Differential Revision: https://developer.blender.org/D3690
2018-09-18UI: don't show Redo Unsupported, just hide buttons in that case.Brecht Van Lommel
2018-09-18Subdiv: CCG, implement stitching of given facesSergey Sharybin
Will speed up (or rather bring speed back to what it is supposed to be) for brushes like smooth.
2018-09-18Subdiv: CCG, make inner face grids averaging more reusableSergey Sharybin
2018-09-18Subdiv: CCG, initial grids stitching implementationSergey Sharybin
Currently is only working on an "inner" grid boundaries. Need to implement averaging across face edges.
2018-09-18Subdiv: CCG, evaluate final position for multiresSergey Sharybin
This makes it so coordinates and normals for CCG are calculated with mutires displacement taken into account. This solves issues with multires displacement being lost when entering sculpt mode. The missing part is averaging of normals along grid boundaries. But even then sculpting shows decent results. The plan to solve that would be to introduce function to stitch grids, which can also be used by Smooth brush which requires this.
2018-09-18Merge branch 'master' into blender2.8Bastien Montagne
2018-09-18Fix T56833: "zoom to cursor" in Clip editor not handling aspect ratio.Bastien Montagne
Trivial fix, just using same code as in Image editor...
2018-09-18GPUShader: Manually validate sampler countClément Foucault
This happens on NVidia GPUs, using more textures than the maximum allowed by the gl will NOT trigger a linking issue (maybe because of bindless texture implementation?). So in this case we manually count the number of samplers per shader stage and compare it against the GL limit. We discard the shader if the sampler count is too high. This shows the user something is wrong with the shader.
2018-09-18Support evaluating simple driver expressions without Python interpreter.Alexander Gavrilov
Recently @sergey found that hard-coding evaluation of certain very common driver expressions without calling the Python interpreter produces a 30-40% performance improvement. Since hard-coding is obviously not suitable for production, I implemented a proper parser and interpreter for simple arithmetic expressions in C. The evaluator supports +, -, *, /, (), ==, !=, <, <=, >, >=, and, or, not, ternary if; driver variables, frame, pi, True, False, and a subset of standard math functions that seem most useful. Booleans are represented as numbers, since within the supported operation set it seems to be impossible to distinguish True/False from 1.0/0.0. Boolean operations properly implement lazy evaluation with jumps, and comparisons support chaining like 'a < b < c...'. Expressions are parsed into a very simple stack machine program that can then be safely evaluated in multiple threads. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D3698
2018-09-18UI: use monochrome lock icons next to decorators.Brecht Van Lommel
2018-09-18Merge branch 'master' into blender2.8Sergey Sharybin
2018-09-18Close OpenEXR thread pool on exitSergey Sharybin
This partially solves ASAN report about unfreed memory. There is still something in the report, need to have a closer look with debug version of OpenEXE library.
2018-09-18Fix T56831: Crash - Transfer Weight & changing it's properties.Bastien Montagne
Usual Undo/Redo case with operators needing evaluated data...
2018-09-18Cleanup: spellingCampbell Barton
2018-09-18Gizmo: de-duplicate poll logicCampbell Barton
Checking the active tool or operator was a common way to check if the gizmo was still in use.
2018-09-18Gizmo: dial3d option to get angles w/o wrappingCampbell Barton
Needed for spinning multiple revolutions.
2018-09-18Gizmo: add snap & tweak to the dial widgetCampbell Barton
Allows holding Ctrl to snap w/ the spin tool.
2018-09-18Cleanup: group gizmo dial members into structsCampbell Barton
2018-09-18Correct view orientation update in last commitCampbell Barton
2018-09-18Gizmo: use spin widgets by defaultCampbell Barton
- Now the spin tool has a persistent gizmo. - Uses scene orientation, with additional view orientation. - Uses the cursor center, ignoring the pivot since the selection center is rarely useful. - Disable most of the redo gizmo's for now since they overlap, only allow adjusting the angle. Note: mixing new action with adjusting previous is confusing, we'll want to have design guidelines regarding this.
2018-09-18Cleanup: spin redo naming changesCampbell Barton
2018-09-18Cleanup: spin redo naming changesCampbell Barton
2018-09-18Cleanup: spin redo naming changesCampbell Barton
2018-09-18Cleanup: move editmesh spin gizmo into own fileCampbell Barton
To mix both initial spin and redo ends up being more involved, move into own file.
2018-09-18Gizmo: minor tweak to spin toolCampbell Barton
Make main angle adjustment radius larger since it's the most useful.
2018-09-17Merge branch 'master' into blender2.8Bastien Montagne
2018-09-17Eevee: Fix shader linking error with volumetric shadersClément Foucault
2018-09-17Eevee: Fix crash when using refraction with alpha clip blend modeClément Foucault
2018-09-17Fix object selection with eyerdropper not respecting property poll function.Brecht Van Lommel
2018-09-17Fix T56800: Reflection Plane in Eevee crashes BlenderClément Foucault
2018-09-17Fix T56803: Indirect lightning bake crashes BlenderClément Foucault
2018-09-17Fix T56801: Enabling smoke crashes Blender.Clément Foucault
2018-09-17Depsgraph: Cleanup, indentationSergey Sharybin
2018-09-17Depsgraph: Gnuplot, put heaviest objects at the topSergey Sharybin
2018-09-17Merge branch 'master' into blender2.8Bastien Montagne
2018-09-17Fix T56811: Do not show cancel button for jobs when UI is locked.Bastien Montagne
Since that button is then totally useless and unusable...
2018-09-17Gizmo: start spin gizmo draggingCampbell Barton
- Only respond to drag event, so placing the cursor is possible. - Start off with zero rotation, dragging adjusts.
2018-09-17Gizmo: Functions to re-initialize a group typeCampbell Barton
Partially re-initializing a gizmo is often more trouble then removing and re-adding.
2018-09-17Gizmo: only respond to mouse-move eventsCampbell Barton
Missed in recent update to event handling.
2018-09-17Cleanup: use SCE_GIZMO_ prefix for gizmo_flagCampbell Barton
2018-09-17Cleanup: rename gizmo group dataCampbell Barton
Abbreviate to 'ggd', replacing manipulator reference.
2018-09-16Fix T56817: Assert because of invalid framebufferClément Foucault
2018-09-16Fix driver expression bytecode validation crash if parsing fails.Alexander Gavrilov
Another NULL pointer access: nothing to validate if it already failed.