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-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-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-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-17Cleanup: use SCE_GIZMO_ prefix for gizmo_flagCampbell Barton
2018-09-14GP: Improve errase panel and toolbarsAntonioya
Some names were not clear enough and some parameters were missing.
2018-09-14Cloth: Improve UILuca Rood
This reorganizes the cloth UI, and changes some of the behaviour to be more reasonable. Changes included here: * Reorganized cloth panels * Improved some tooltips * Removed `vel_damping` option * Removed cloth pinning checkbox * Removed stiffness scaling checkbox * Separated shrinking from sewing * Separated self collisions from object collisions Reviewed By: brecht Differential Revision: http://developer.blender.org/D3691
2018-09-14GP: Add thickness and stregth factor to UIAntonioya
Now it's possible change the factors for soft eraser.
2018-09-13Gizmo: value2d utility to adjust operator valuesCampbell Barton
This allows any operator to interactively redo without having to manually make each operator modal.
2018-09-13Merge branch 'master' into blender2.8Campbell 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-10GP: Cleanup commented linesAntonioya
2018-09-10GP: Remove annotation stroke modeAntonioya
This option has not been working since a lot of time and it looks is unused. When we confirm is not used, we can remove it completely.
2018-09-10Image/UV Editor: Remove show other optionDalai Felinto
This is no longer useful now that we have multi-object editing support.
2018-09-10Cleanup: remove unused field argsCampbell Barton
2018-09-08Fix gizmo poll functionCampbell Barton
Missed cast switching to bool return type.
2018-09-07RNA: update gizmo API for changes in BlenderCampbell Barton
- gpu module renamed. - make gizmo.new() take type as a required argument.
2018-09-07RNA: Area.header_text_set text is now requiredCampbell Barton
2018-09-07Merge branch 'master' into blender2.8Campbell Barton
2018-09-07Cleanup: move area API into own functionCampbell Barton
2018-09-07GP: Replace hide icon in materialsAntonioya
Now the layers and materials icons are consistent.
2018-09-06UI / Python: rename X-Ray to In Front, Draw to Display.Brecht Van Lommel
See T56648.
2018-09-06UI: rename Translate/Grab to Move in UI, shortcuts stay the same.Brecht Van Lommel
2018-09-06Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/editors/space_node/drawnode.c
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-06Cleanup: styleCampbell Barton
2018-09-053D Text: improvements to vertical alignmentDalai Felinto
They way Blender handles vertical alignment is very buggy: - Top-Base: It works perfectly. - Bottom: It is actually bottom-baseline, and it fails when line size is != 1.0 when working with text boxes. - Top: Poorly implemented, it should use font's ascent (recommended distance from baseline), so it has room for accents, but it's not one line distance far from the origin (as it is now). - Center: Poorly implemented. This is tricky since there is no silver bullet. To clear this situation I created a new option (Bottom-Baseline), and addressed the issues above. I'm getting the ascent and descent from freetype2, and use this for padding above/below the text. Also for vertically centering the text.
2018-09-04Cleanup: remove legacy layer and dupli code.Brecht Van Lommel
2018-09-03Fix T56667: missing sockets with Cycles render layer nodes in compositing.Brecht Van Lommel
2018-09-02Cleanup: comment blocksCampbell Barton
2018-09-02Cleanup: comment blocksCampbell Barton
2018-08-31Merge branch 'master' into blender2.8Sergey Sharybin
2018-08-31Cloth: Componentize forcesLuca Rood
This separates cloth stiffness and damping forces into tension, compression, and shearing components, allowing more control over the cloth behaviour. This also adds a bending model selector (although the new bending model itself is not implemented in this commit). This is because some of the features implemented here only make sense within the new bending model, while the old model is kept for compatibility. This commit makes non-breaking changes, and thus maintains full compatibility with existing simulations. Reviewed By: brecht Differential Revision: http://developer.blender.org/D3655
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-31Merge branch 'master' into blender2.8Campbell Barton
2018-08-31Cleanup: rename WM_keymap_find -> WM_keymap_ensureCampbell Barton
2018-08-30GP: Change icon identfier for shaderFxAntonioya
This commit complements commit d2ad256326736c8a4c746163f9b27491d8a6e95a
2018-08-30UI: add dedicated icon IDs for decorators, tool settings, shaderfx, overlays.Brecht Van Lommel
The preset and decorator icons were updated to be monochrome and draw in the same color as text. Other icons are unchanged, having them as separate icon IDs prepares for an artist to make them.
2018-08-30Workspaces: switch object mode when switching workspaces.Brecht Van Lommel
In the workspace properties a mode can now be configured that is automatically enabled when switching to the workspace. This is a test to validate how well it works. The weak point is that if you don't have an appropriate object already select it will not switch modes. See T56475.
2018-08-30Merge branch 'master' into blender2.8Brecht Van Lommel
2018-08-30GP: New Armature modifier and tools to handle weightsAntonioya
This commit adds a new armature modifier for grease pencil. The deformations are done reusing the mesh deform routines. There is also a new operator in weight paint mode to help the artist to generate weights base on armatures. This operator is required because 2D animation workflow is not equal to meshes when parent an object to armatures. In the drawing engine has been added the option to handle the Fade object parameter used in armatures to see the strokes while move the bones. When rename bones, all related data of grease pencil is renamed too. This not only affect new armature code, but also layers parented and hook modifiers. Thanks @aligorith for his review and help.
2018-08-30Fix T56610: crash saving images with python API.Brecht Van Lommel
2018-08-30GP: Add weights while drawing strokesAntonioya
Now it's possible to add the weight of the current selected vertex group to any new stroke created. This is very handy when add drawings after the weight paint was done and it will be required with Armatures.
2018-08-303D View: option to always show center in face modeCampbell Barton
This matches 2.7x behavior
2018-08-30UI: move workspace panels to tool settingsCampbell Barton
While this isn't the most logical place, there are very few workspace options and they don't need to be in such a prominent location.
2018-08-29Cleanup: add file doxy commentsCampbell Barton
2018-08-29Merge branch 'master' into blender2.8Campbell Barton
2018-08-29Cleanup: rename files from group to collection to match contents.Brecht Van Lommel
2018-08-29Tool System: hide paint options for non brush toolsCampbell Barton
2018-08-29UI: use icons for sculpt mode toolbarCampbell Barton
Re-order some enums so plus is always first.
2018-08-28Merge branch 'master' into blender2.8Brecht Van Lommel