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
2017-06-01Main Workspace IntegrationJulian Eisel
This commit does the main integration of workspaces, which is a design we agreed on during the 2.8 UI workshop (see https://wiki.blender.org/index.php/Dev:2.8/UI/Workshop_Writeup) Workspaces should generally be stable, I'm not aware of any remaining bugs (or I've forgotten them :) ). If you find any, let me know! (Exception: mode switching button might get out of sync with actual mode in some cases, would consider that a limitation/ToDo. Needs to be resolved at some point.) == Main Changes/Features * Introduces the new Workspaces as data-blocks. * Allow storing a number of custom workspaces as part of the user configuration. Needs further work to allow adding and deleting individual workspaces. * Bundle a default workspace configuration with Blender (current screen-layouts converted to workspaces). * Pressing button to add a workspace spawns a menu to select between "Duplicate Current" and the workspaces from the user configuration. If no workspaces are stored in the user configuration, the default workspaces are listed instead. * Store screen-layouts (`bScreen`) per workspace. * Store an active screen-layout per workspace. Changing the workspace will enable this layout. * Store active mode in workspace. Changing the workspace will also enter the mode of the new workspace. (Note that we still store the active mode in the object, moving this completely to workspaces is a separate project.) * Store an active render layer per workspace. * Moved mode switch from 3D View header to Info Editor header. * Store active scene in window (not directly workspace related, but overlaps quite a bit). * Removed 'Use Global Scene' User Preference option. * Compatibility with old files - a new workspace is created for every screen-layout of old files. Old Blender versions should be able to read files saved with workspace support as well. * Default .blend only contains one workspace ("General"). * Support appending workspaces. Opening files without UI and commandline rendering should work fine. Note that the UI is temporary! We plan to introduce a new global topbar that contains the workspace options and tabs for switching workspaces. == Technical Notes * Workspaces are data-blocks. * Adding and removing `bScreen`s should be done through `ED_workspace_layout` API now. * A workspace can be active in multiple windows at the same time. * The mode menu (which is now in the Info Editor header) doesn't display "Grease Pencil Edit" mode anymore since its availability depends on the active editor. Will be fixed by making Grease Pencil an own object type (as planned). * The button to change the active workspace object mode may get out of sync with the mode of the active object. Will either be resolved by moving mode out of object data, or we'll disable workspace modes again (there's a `#define USE_WORKSPACE_MODE` for that). * Screen-layouts (`bScreen`) are IDs and thus stored in a main list-base. Had to add a wrapper `WorkSpaceLayout` so we can store them in a list-base within workspaces, too. On the long run we could completely replace `bScreen` by workspace structs. * `WorkSpace` types use some special compiler trickery to allow marking structs and struct members as private. BKE_workspace API should be used for accessing those. * Added scene operators `SCENE_OT_`. Was previously done through screen operators. == BPY API Changes * Removed `Screen.scene`, added `Window.scene` * Removed `UserPreferencesView.use_global_scene` * Added `Context.workspace`, `Window.workspace` and `BlendData.workspaces` * Added `bpy.types.WorkSpace` containing `screens`, `object_mode` and `render_layer` * Added Screen.layout_name for the layout name that'll be displayed in the UI (may differ from internal name) == What's left? * There are a few open design questions (T50521). We should find the needed answers and implement them. * Allow adding and removing individual workspaces from workspace configuration (needs UI design). * Get the override system ready and support overrides per workspace. * Support custom UI setups as part of workspaces (hidden panels, hidden buttons, customizable toolbars, etc). * Allow enabling add-ons per workspace. * Support custom workspace keymaps. * Remove special exception for workspaces in linking code (so they're always appended, never linked). Depends on a few things, so best to solve later. * Get the topbar done. * Workspaces need a proper icon, current one is just a placeholder :) Reviewed By: campbellbarton, mont29 Tags: #user_interface, #bf_blender_2.8 Maniphest Tasks: T50521 Differential Revision: https://developer.blender.org/D2451
2017-05-28Merge branch 'master' into blender2.8Bastien Montagne
2017-05-27Remove MinGW supportAaron Carlisle
The Issue ======= For a long time now MinGW has been unsupported and unmaintained and at this point, it looks like something that we should just leave behind and move on. Why Remove ========== One of the big motivations for MinGW back in the day is that it was free compared to MSVC which was licensed based. However, now that this is no longer true we have basically stopped updating the need CMake files. Along with the CMake files, there are several patches to the extern libs needed to make this work. For example, see: https://developer.blender.org/diffusion/B/browse/master/extern/carve/patches/mingw_w64.patch If we wanted to keep MinGW then we would need to make more custom patches to the external libs and this is not something our platform maintainers are willing to do. For example, here is the patches needed to build python: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3 Fixes T51301 Differential Revision: https://developer.blender.org/D2648
2017-05-26Merge branch 'master' into blender2.8Campbell Barton
2017-05-25Fix blender player python installation on macOS after recent changes.Brecht Van Lommel
2017-05-25Merge branch 'master' into blender2.8Brecht Van Lommel
2017-05-25Fix macOS python cmake install to work when switching lib directories.Brecht Van Lommel
It's a bit ugly but I couldn't find a better way to keep fast installs and correct handling of switching between master and blender2.8 with different lib directories.
2017-05-22Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenloader/intern/versioning_270.c
2017-05-21[msvc] Use debug nunmpy archive for debug buildslazydodo
2017-05-19OpenGL: remove -noglsl option & GPU_extensions_disableMike Erwin
Also removed a leftover reference to the old basic-shader-glsl option.
2017-04-28Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-04-27Revert "Fix T51328: Add note to cmdline help that threads must be first"Campbell Barton
The help message already notes that argument order matters, and this doesn't need to be the first.
2017-04-27Merge branch 'master' into blender2.8Campbell Barton
2017-04-27Fix T51328: Add note to cmdline help that threads must be firstAaron Carlisle
2017-04-21Draw Manager: edit-mode 3d text drawingCampbell Barton
Draw cursor and selection, also support for fast-display.
2017-04-06Depsgraph: Remove old depsgraph headers from creatorSergey Sharybin
2017-03-15OpenGL: remove non-GLSL option from basic shaderMike Erwin
This code path was only used when Blender was launched with --enable-legacy-basic-shader at the command line. Part of general OpenGL upgrade (T49165)
2017-03-09Merge branch 'master' into blender2.8Campbell Barton
2017-03-07Fix typo in command line arg listAaron Carlisle
2017-02-26Merge branch 'master' into blender2.8Brecht Van Lommel
2017-02-24Cycles: Fix non-zero exit status when rendering animation from CLI and ↵Sergey Sharybin
running out of memory
2017-02-23Merge branch 'master' into blender2.8Bastien Montagne
2017-02-22Fix Cycles still saving render output when error happenedSergey Sharybin
This was fixed ages ago for the interface case but not for the command line. The thing here is that currently external engines are relying on reports system to indicate that error happened so suppressing reports storage in the background mode prevented render pipeline from detecting errors happened. This is all weak and i don't like it, but this is better than delivering black frames from the farm.
2017-01-24Merge branch 'master' into blender2.8Sergey Sharybin
2017-01-24Depsgraph: Remove command line argument to use new depsgraphSergey Sharybin
2017-01-24Use new manual URLAaron Carlisle
2016-12-28Revert particle system and point cache removal in blender2.8 branch.Lukas Tönne
This reverts commit 5aa19be91263a249ffae75573e3b32f24269d890 and b4a721af694817fa921b119df83d33ede7d7fed0. Due to postponement of particle system rewrite it was decided to put particle code back into the 2.8 branch for the time being.
2016-12-23Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2016-12-23Fix (unreported) `--threads` option no more respected by main task scheduler.Bastien Montagne
Main scheduler would be created way before `-t` argument would be parsed, since it was on forth pass! Moved it to first pass of argparse, that kind of stuff should be initialized asap on startup.
2016-12-12Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/intern/depsgraph.c source/blender/blenloader/intern/versioning_270.c source/blender/depsgraph/intern/builder/deg_builder_relations.cc source/blender/makesrna/intern/rna_main_api.c source/blender/makesrna/intern/rna_particle.c
2016-12-09Added --debug-io flag to command lineGaia Clary
2016-12-04Docs: Show 'Other Options' last in --helpCampbell Barton
Own error when changing order, moving experimental features last made some sense, but causes them to be listed twice. Reorder and comment to avoid it happening again.
2016-12-04[msvc] Changes for new oiio/ffmpeg versions.lazydodo
2016-12-01Merge branch 'master' into blender2.8Lukas Tönne
2016-11-27[msvc2015] Fix cmake warnings regarding backslashes in path of the run-time ↵lazydodo
libraries
2016-11-19Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenloader/intern/versioning_270.c source/blender/depsgraph/intern/builder/deg_builder_nodes.cc source/blender/depsgraph/intern/builder/deg_builder_relations.cc source/blender/editors/space_view3d/drawobject.c
2016-11-17[MSVC] Preliminary VS2017 support.lazydodo
2016-11-07Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: intern/cycles/blender/addon/properties.py
2016-11-05MSVC Runtime copy : Remove erroneously left in diagnostic message from ↵lazydodo
CMakeLists.txt
2016-11-05[msvc2015] Add support for copying the vc runtime.lazydodo
There's more dll's hanging out in the ucrt folder, but I just grabbed the ones blender requested (not sure if that's a wise idea, but it seems to work) Reviewers: sergey, juicyfruit Reviewed By: juicyfruit Differential Revision: https://developer.blender.org/D2335
2016-09-21GPU_basic_shader uses GLSL by defaultMike Erwin
switch back to old mode at runtime: blender --enable-legacy-basic-shader
2016-09-16Merge branch 'master' into blender2.8Sergey Sharybin
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-04Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: intern/cycles/blender/blender_particles.cpp source/blender/blenkernel/intern/particle.c source/blender/gpu/intern/gpu_shader.c
2016-08-31[Windows] Add support for code signing the final binaries.lazydodo
The option is controlled with the WITH_WINDOWS_CODESIGN option and needs: - Signtool must be found on the system, the standard windows sdk folders will be searched for it. - The path to the pfx file (WINDOWS_CODESIGN_PFX) - The password for the pfx , this can either be set by the WINDOWS_CODESIGN_PFX_PASSWORD variable but given that ends up in CMakeCache.txt (which might be undesirable) there is a backup option of setting the PFXPASSWORD environment variable on the system. Reviewers: sergey, juicyfruit Reviewed By: juicyfruit Tags: #bf_blender, #platform:_windows Differential Revision: https://developer.blender.org/D2182
2016-08-26Fix over creation of cache files handles (leading to memory leaks).Kévin Dietrich
Multiple threads could create multiple handles for the same cache file, so protect handle creation with a mutex, to make sure only one is created.
2016-07-25Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_particle.h source/blender/blenkernel/intern/library.c source/blender/blenkernel/intern/particle.c
2016-07-21Cleanup: warningsCampbell Barton
2016-07-18CMake: correct py-module on OSXCampbell Barton
2016-07-18Merge branch 'master' into blender2.8Campbell Barton