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-05-24UI: Add theming support for the status-barJulian Eisel
For now not bumping subversion, even though I technically should. We can do if needed, but would like to avoid bumping it every few days...
2018-05-15Change preference defaultsCampbell Barton
- Python tooltips: OFF - Auto Perspective: ON - Navigation Manipulator: ON - Region Overlap: ON See T47064
2018-05-12UI: move pivot to the topbarCampbell Barton
Pivot variables are now stored in scene toolsettings.
2018-05-09Remove Frame ServerCampbell Barton
This feature is limited (only byte PPM output, no multi-view), only works with specific configurations. This also causes some maintenance overhead when testing changes to the render pipeline.
2018-05-06UI: region overlap now works for headers as well.Brecht Van Lommel
This is for the 3D viewport and image editor. A remaining issue is that pulldown menu buttons only show text, which is not visible on all background colors, so making the header entirely transparent does not work well at the moment.
2018-05-05Groups: remove drawing group objects in a different color.Brecht Van Lommel
With the upcoming unification of groups and collections this will make no sense anymore, as all objects will be in a collection.
2018-04-28Python/UI: add more convenient API for drawing based on DPI.Brecht Van Lommel
system.ui_scale: size multiplier to use when drawing custom UI elements. system.ui_line_width: suggested line thickness and point size in pixels.
2018-04-28UI: Add icon color saturation preferenceCampbell Barton
Toolbar icon saturation can now be set from the preferences, (use 0.4 by default).
2018-04-27WM: new offscreen window draw method to replace all existing methods.Brecht Van Lommel
For Blender 2.8 we had to be compatible with very old OpenGL versions, and triple buffer was designed to work without offscreen rendering, by copying the the backbuffer to a texture right before swapping. This way we could avoid redrawing unchanged regions by copying them from this texture on the next redraws. Triple buffer used to suffer from poor performance and driver bugs on specific cards, so alternative draw methods remained available. Now that we require newer OpenGL, we can have just a single draw method that draw each region into an offscreen buffer, and then draws those to the screen. This has some advantages: * Poor 3D view performance when using Region Overlap should be solved now, since we can also cache overlapping regions in offscreen buffers. * Page flip, anaglyph and interlace stereo drawing can be a little faster by avoiding a copy to an intermediate texture. * The new 3D view drawing already writes to an offscreen buffer, which we can draw from directly instead of duplicating it to another buffer. * Eventually we will be able to remove depth and stencil buffers from the window and save memory, though at the moment there are still some tools using it so it's not possible yet. * This also fixes a bug with Eevee sampling not progressing with stereo drawing in the 3D viewport. Differential Revision: https://developer.blender.org/D3061
2018-04-26UI: add darker theme color for toolbar itemsCampbell Barton
2018-04-22UI: Editor outline color themableDalai Felinto
Note: Not bothering with doversion, re-using 280, 10 bump.
2018-04-22UI: make button roundness themeable.Brecht Van Lommel
2018-04-20Dopesheet-Timeline: Removal of Timeline Editor!Joshua Leung
This commit removes all references to the old timeline editor. Unfortuantely, the removal of the Timeline spacetype defining functions has ended up breaking the version patching code I'd been working on earlier (as now, the editor gets marked as "unknown/info" before we get a chance to patch it!)
2018-04-20UI: New Global Top-Bar (WIP)Julian Eisel
== Main Features/Changes for Users * Add horizontal bar at top of all non-temp windows, consisting out of two horizontal sub-bars. * Upper sub-bar contains global menus (File, Render, etc.), tabs for workspaces and scene selector. * Lower sub-bar contains object mode selector, screen-layout and render-layer selector. Later operator and/or tool settings will be placed here. * Individual sections of the topbar are individually scrollable. * Workspace tabs can be double- or ctrl-clicked for renaming and contain 'x' icon for deleting. * Top-bar should scale nicely with DPI. * The lower half of the top-bar can be hided by dragging the lower top-bar edge up. Better hiding options are planned (e.g. hide in fullscreen modes). * Info editors at the top of the window and using the full window width with be replaced by the top-bar. * In fullscreen modes, no more info editor is added on top, the top-bar replaces it. == Technical Features/Changes * Adds initial support for global areas A global area is part of the window, not part of the regular screen-layout. I've added a macro iterator to iterate over both, global and screen-layout level areas. When iterating over areas, from now on developers should always consider if they have to include global areas. * Adds a TOPBAR editor type The editor type is hidden in the UI editor type menu. * Adds a variation of the ID template to display IDs as tab buttons (template_ID_tabs in BPY) * Does various changes to RNA button creation code to improve their appearance in the horizontal top-bar. * Adds support for dynamically sized regions. That is, regions that scale automatically to the layout bounds. The code for this is currently a big hack (it's based on drawing the UI multiple times). This should definitely be improved. * Adds a template for displaying operator properties optimized for the top-bar. This will probably change a lot still and is in fact disabled in code. Since the final top-bar design depends a lot on other 2.8 designs (mainly tool-system and workspaces), we decided to not show the operator or tool settings in the top-bar for now. That means most of the lower sub-bar is empty for the time being. NOTE: Top-bar or global area data is not written to files or SDNA. They are simply added to the window when opening Blender or reading a file. This allows us doing changes to the top-bar without having to care for compatibility. == ToDo's It's a bit hard to predict all the ToDo's here are the known main ones: * Add options for the new active-tool system and for operator redo to the topbar. * Automatically hide the top-bar in fullscreen modes. * General visual polish. * Top-bar drag & drop support (WIP in temp-tab_drag_drop). * Improve dynamic regions (should also fix some layout glitches). * Make internal terminology consistent. * Enable topbar file writing once design is more advanced. * Address TODO's and XXX's in code :) Thanks @brecht for the review! And @sergey for the complaining ;) Differential Revision: D2758
2018-04-19Remove Blender Internal and legacy viewport from Blender 2.8.Ton Roosendaal
Brecht authored this commit, but he gave me the honours to actually do it. Here it goes; Blender Internal. Bye bye, you did great! * Point density, voxel data, ocean, environment map textures were removed, as these only worked within BI rendering. Note that the ocean modifier and the Cycles point density shader node continue to work. * Dynamic paint using material shading was removed, as this only worked with BI. If we ever wanted to support this again probably it should go through the baking API. * GPU shader export through the Python API was removed. This only worked for the old BI GLSL shaders, which no longer exists. Doing something similar for Eevee would be significantly more complicated because it uses a lot of multiplass rendering and logic outside the shader, it's probably impractical. * Collada material import / export code is mostly gone, as it only worked for BI materials. We need to add Cycles / Eevee material support at some point. * The mesh noise operator was removed since it only worked with BI material texture slots. A displacement modifier can be used instead. * The delete texture paint slot operator was removed since it only worked for BI material texture slots. Could be added back with node support. * Not all legacy viewport features are supported in the new viewport, but their code was removed. If we need to bring anything back we can look at older git revisions. * There is some legacy viewport code that I could not remove yet, and some that I probably missed. * Shader node execution code was left mostly intact, even though it is not used anywhere now. We may eventually use this to replace the texture nodes with Cycles / Eevee shader nodes. * The Cycles Bake panel now includes settings for baking multires normal and displacement maps. The underlying code needs to be merged properly, and we plan to add back support for multires AO baking and add support to Cycles baking for features like vertex color, displacement, and other missing baking features. * This commit removes DNA and the Python API for BI material, lamp, world and scene settings. This breaks a lot of addons. * There is more DNA that can be removed or renamed, where Cycles or Eevee are reusing some old BI properties but the names are not really correct anymore. * Texture slots for materials, lamps and world were removed. They remain for brushes, particles and freestyle linestyles. * 'BLENDER_RENDER' remains in the COMPAT_ENGINES of UI panels. Cycles and other renderers use this to find all panels to show, minus a few panels that they have their own replacement for.
2018-04-17Removing Blender Game Engine from Blender 2.8Dalai Felinto
Folders removed entirely: * //extern/recastnavigation * //intern/decklink * //intern/moto * //source/blender/editors/space_logic * //source/blenderplayer * //source/gameengine This includes DNA data and any reference to the BGE code in Blender itself. We are bumping the subversion. Pending tasks: * Tile/clamp code in image editor draw code. * Viewport drawing code (so much of this will go away because of BI removal that we can wait until then to remove this.
2018-04-05Remove workspace object mode, reverts changes w/ 2.8Campbell Barton
This caused too many problems syncing object modes with multiple objects/windows/workspaces, see: D3130 for details.
2018-03-26Merge branch 'master' into blender2.8Sergey Sharybin
2018-03-26BLF: Don't use user preferencesSergey Sharybin
BLF is a low level module, which might (and is) used without Blender. Thanks Campbell for review!
2018-02-12Merge branch 'master' into blender2.8Campbell Barton
2018-02-12BKE_addon: new/free/ensure functionsCampbell Barton
2018-02-08Object Mode: move to workspace structCampbell Barton
- Read-only access can often use EvaluationContext.object_mode - Write access to go to WorkSpace.object_mode. - Some TODO's remain (marked as "TODO/OBMODE") - Add-ons will need updating (context.active_object.mode -> context.workspace.object_mode) - There will be small/medium issues that still need resolving this does work on a basic level though. See D3037
2018-01-31Merge branch 'master' into blender2.8Campbell Barton
2018-01-31WM: correct comment, variable name for addonsCampbell Barton
2018-01-29Merge branch 'master' into blender2.8Campbell Barton
2018-01-29Cleanup: rename user preference flagsCampbell Barton
USER_ZBUF_ORBIT -> USER_DEPTH_NAVIGATE The name didn't make sense since it's used for all view navigation. Also rename USER_ZBUF_CURSOR -> USER_DEPTH_CURSOR since zbuf is an internal detail.
2018-01-13Merge branch 'master' into blender2.8Brecht Van Lommel
2018-01-12User Prefs: app-template option to hide the cursorCampbell Barton
2018-01-12User Prefs: add new flag for app-template optionsCampbell Barton
For experimental options, outside the scope of typical preferences. While templates are developed we might want to make changes to behavior which aren't fully compatible with typical work-flows. Instead of mixing these options in with current preferences expose separately (we could even force disable them when templates aren't int use)
2018-01-11Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/intern/blender.c source/blender/makesdna/DNA_ID.h
2018-01-11UI: option not to show screen splitting widgetsCampbell Barton
Request for simplified Blender template, this may be extended to limit access to other UI changes that could be pressed by accident.
2018-01-10Merge branch 'master' into blender2.8Sergey Sharybin
2018-01-10RNA: Increase memory limit settings to their possible max on platformSergey Sharybin
This is quite common to have 64GB memory now, and even 128. There is no reason to add any artificial caps on the cache and undo memory here. We can not protect against using too much memory in one cases and allow use of full computer potential in others. Now 32 bit will use 2GB max (as it used to be), but 64bit will use whatever number of megabytes fits into integer. Reviewers: campbellbarton, mont29 Subscribers: sebastian_k Differential Revision: https://developer.blender.org/D2972
2017-12-15Manipulator: view3d navigation buttonsCampbell Barton
Added for Blender101 template. Disabled by default, enable as a preference. Exposes rotate, pan, zoom, persp-ortho & camera toggle.
2017-11-29ID Static Override: add basic UI feedback.Bastien Montagne
For now, using a new color for overridden properties (similar to animated/driven status), UI team will need to work on a better solution maybe...
2017-10-18Merge branch 'master' into blender2.8Campbell Barton
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-09-25DRW : Add AA to non meshes objects.Clément Foucault
You can change the amount of samples in the user preferences. You do not need to restart blender to see the effect in the new viewport. This adds another Multisample Framebuffer and textures (so even more memory required). It works by blitting the default_fb to the multisample_fb each time the renderer need to render one or more "wire" pass. It it then blit back to the default_fb so that the rest of pipeline is working as expected. We COULD lower the GPU memory / bandwidth usage to render everything to the same multisample fbo and change the logic depending on if MSAA is enabled or not, but I think it's a bit too much work for now.
2017-09-19Audaspace: removing old device backend names.Joerg Mueller
2017-09-13Merge branch 'master' into blender2.8Campbell Barton
2017-09-13Cleanup: avoid right-shifted args in RNA registerCampbell Barton
2017-08-31Merge branch 'master' into blender2.8Campbell Barton
2017-08-31RNA: Limit which classes struct-map containsCampbell Barton
Only add subclasses of: Menu, Panel, Header, UIList, Operator This helps avoid unnecessary naming collisions, See T52599 for details
2017-08-23Merge branch 'master' into blender2.8Campbell Barton
2017-08-23RNA: report error on struct naming collisionCampbell Barton
Fixes T52463, error instead of crash.
2017-08-18Audaspace: Moving audaspace 1.3 into extern.Jörg Müller
Deleting the old internal audaspace. Major changes from there are: - The whole library was refactored to use C++11. - Many stability and performance improvements. - Major Python API refactor: - Most requested: Play self generated sounds using numpy arrays. - For games: Sound list, random sounds and dynamic music. - Writing sounds to files. - Sequencing API. - Opening sound devices, eg. Jack. - Ability to choose different OpenAL devices in the user settings.
2017-08-11Merge branch 'master' into blender2.8Campbell Barton
2017-08-11Tweak maximum sizes of vertices/handle verticesJoshua Leung
* 255 maximum seems excessive for F-Curve handle vertices; now reduced to 100 * Vertex Size is no longer restricted to the old 10px maximum size limit (used because Windows limited the maximum vertex size drivers needed to support)
2017-08-11Error in last commit, problems with unregisterCampbell Barton
We can't free the identifier before its used when removing from the ghash.
2017-08-10Merge branch 'master' into blender2.8Bastien Montagne