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-07-06UI: disable broken horizontal properties editor alignment.Brecht Van Lommel
2018-07-06Merge remote-tracking branch 'origin/master' into blender2.8Sybren A. Stüvel
2018-07-06Ocean Modifier: removed unused refresh flagsSybren A. Stüvel
The flags were set and cleared correctly, but nothing was actually reading them.
2018-07-06Ocean Modifier: removed the MOD_OCEAN_REFRESH_ADD flagSybren A. Stüvel
The flag was only used in readfile.c, and resulted in a delayed call to BKE_ocean_add(); this call is now immediately made instead as it's not very expensive.
2018-07-06Addons: silence warnings instead of disablingCampbell Barton
2018-07-06Addons: svg has been updatedCampbell Barton
2018-07-06Disable addons which haven't been updatedCampbell Barton
Gave noisy warnings on startup.
2018-07-05Refactor: SHOW->HIDEJeroen Bakker
HIDE needs less code also in the future, RNA still uses SHOW.
2018-07-05Overlay: enable/disable drawing of specific object types.Jeroen Bakker
This patch will allow users to customize what object types will be drawn by the object mode overlay. It supports: Empties, Lamps, Cameras, Speakers, Armatures and Lightprobes. It currently does not support Physics objects due to the overlap it has with other objects types. Also be aware that in pose mode the armature is drawn, but not by the object mode overlay Reviewers: campbellbarton Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D3524
2018-07-05Revert "Overlay: enable/disable drawing of specific object types."Jeroen Bakker
This reverts commit f7ec70895c78900db8e7db88d3713ebb9aa62730.
2018-07-05Overlay: enable/disable drawing of specific object types.Jeroen Bakker
Added a option to the overlay popover that controls the visibility of non-renderable objects like lamps, cameras, speakers, armatures, curves empties and force fields. After discussion we went for a single option with more detailed check in the object_mode draw engine. Differential Revision: https://developer.blender.org/D3524
2018-07-04Workspaces: store view layer per main window, instead of per workspace.Brecht Van Lommel
It was a bit odd that the scene was stored per window but not the view layer. The reasoning was that you would use different view layers for different tasks. This is still possible, but it's more predictable to switch them both explicitly, and with child window support manually syncing the view layers between multiple windows is no longer needed as often.
2018-07-04Workspaces: add main and child windows.Brecht Van Lommel
* Main windows show a topbar and statusbar, and select a workspace and scene. They are created with Window > New Main Window. * Child windows do not show a topbar or statusbar. These follow the workspace and scene of their parent main window. Created with Window > New Window or View > Duplicate Area into New Window. * The purpose of this change is to support multi monitor setups where you just want to put more editors on the other monitors. Without multiple topbars and statusbars, working within a single workspace and scene. Creating multiple main windows is intended to be a concious choice to do different tasks in different workspaces and scenes. * Note these changes do not currently affect how the operating system treats the windows. * When changing the workspace, the layout in all child windows changes. This makes sense if we consider child windows to be just a way to extend the main window across more monitors. In some case it may be useful to keep the same layout though, we can add an option for this depending on user feedback.
2018-07-04SoftBody: share point cache between CoW copiesSybren A. Stüvel
This is the same approach as 98a0bcd4252e952fa5438e9d1b69b0204f8a8746 applied to soft body simulation. In short, CoW copies share the point cache, and treat it as read-only except when the depsgraph is active.
2018-06-30UI: support check-boxes in quick menuCampbell Barton
Could support other RNA types, however menus don't work well in this case.
2018-06-29Fix T55645: broken particle Use Count option for instancing objects.Brecht Van Lommel
There is now a manual refresh button on the panel to update the list of objects in case it changes, and it also gets refreshed when changing the collection or toggling the use count option. This is a bit more manual but the previous code of refreshing the list while evaluating the depsgraph was unreliable. This also fixes it to take properly take into account visibility, and to work with linked collections for which index writing was missing.
2018-06-29Refactor static override code to pass Main around.Bastien Montagne
Access to main database is actually rarely needed, but some custom 'apply' functions do need it (like Collections' overriding of objects or children collections).
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-28Prevent copying too much in the Rigid Body simulationSybren A. Stüvel
To prevent the pointcache from being copied-on-write too (and requiring copying back), the cache is now shared between the original and evaluated scenes. Reading from the cache is always allowed; running the sim and writing to the cache is only allowed when the depsgraph is active. Some pointers have moved from RigidBodyWorld (RBO) to RigidBodyWorldShared (RBOS). writefile.c copies some pointers back from RBOS to RBO so that the file can still be opened on older Blenders without crashing on a segfault. The RigidBodyWorldShared struct is written to the blend file, because it refers to the PointCache ID block. The RigidObjectShared struct is runtime-only, and thus not saved to the blend file. An RNA getter-function is used to hide the new 'shared' pointer. As a result the Python API hasn't changed. Reviewed by: campbellbarton Differential Revision: https://developer.blender.org/D3508
2018-06-28UI: keep some operator text in headers.Brecht Van Lommel
Key shortcuts and explanation about how to use the tool should go to the status bar, but other info can in the header so it's near where the user is working. This distinction has not been made yet for all operators.
2018-06-27Theme: set default theme 'Flatty Dark Blueberry'Campbell Barton
The theme is now stored in generated C code, which can be extracted from existing user preferences. This theme can then be used for version patching themes instead of duplicating values Note that theme versioning has been removed, since minor changes from now on won't apply well on top of 2.7x theme. Theme colors from interface_widgets.c have been removed too.
2018-06-26UI: move modal operator text from headers to status bar.Brecht Van Lommel
Python API is context.workspace.status_text_set()
2018-06-26Fix missing object/collection hiding icons on undo.Brecht Van Lommel
2018-06-26UI: status bar cursor keymap displayCampbell Barton
Show mouse button actions in status bar, based on context, modifiers and active tool. See: T54861
2018-06-25Cleanup: rename object base flags to be more clear.Brecht Van Lommel
2018-06-25Cleanup: code styleCampbell Barton
2018-06-24UI: internal changes to user-menu storageCampbell Barton
- Use per context menu lists to support menu editing. - Support for different kinds of menu items since this may be needed in the future. Only use operator types for now.
2018-06-23UI: Add user defined context menuCampbell Barton
- Add/Remove from RMB context menu. - Stored in user preferences. - Access from Q key. See T55027.
2018-06-22Tool System: transform can now toggle loc/rot/scaleCampbell Barton
2018-06-22Fix crash reading toolsettingsCampbell Barton
2018-06-22Modifiers: Remove remaining parts of md->sceneSergey Sharybin
2018-06-22PaintMode: Full Shading Boolean => SliderJeroen Bakker
There was a Full Shading bool that was shared across the WP, VP and TP modes. This commit makes some changes: - Replace the bool with a factor. This gives the user more control on the visibility. - Also draw it on top of the Material and Rendered mode so the user can control what he needs. In certain cases you don't want to see the final rendered material, but the actual texture. - Removed the skipping of objects when in paint modes. As now the paint modes are blended.
2018-06-21T55570: Moved Texture drawtype as to shading popoverJeroen Bakker
the use of the texture drawtype is limited. so who should we have it this prominent on the screen. By adding it as a shading.color_type option we should save some screenspace.
2018-06-21Fix: Ensure that summary channel is enabled when creating timelineJoshua Leung
2018-06-21Fix: Incorrect submodes being set in Dopesheet/Action Editor when changing modesJoshua Leung
This commit fixes a number of problematic corner cases when switching between editors after 2b5050a4cdfbb075d360fd39433acea07432c60b The root cause of these issues was that mode_prev was not being set in many cases, resulting in mode changes to the Timeline and back (via other editors) causing Dopesheet Editors to reset back to "Action Editor" mode. 1) Creating new Dopesheet Editors (e.g. change the default 3D view to a Dopesheet editor) would default to displaying the "Action Editor", since mode/mode_prev == 0 represents the "Action Editor" (for backwards compatability reasons), while mode == 3 is for the "Dopesheet" 2) If you set the Dopesheet Editor to another mode (e.g. "Grease Pencil" mode), change to another editor (e.g. Shaders), then come back, the mode would get reset to "Action Editor".
2018-06-20Objects: restore per object restrict view/render/select.Brecht Van Lommel
Note this is now separate from H key hiding, and meant for more persistent ways to define which objects are relevant to the viewport or render. This avoids some cases where you'd have to create collection specifically to hide objects for viewport/render.
2018-06-20Objects: restore H key per object hiding.Brecht Van Lommel
H hides selected objects, Shift+H hides unselected objects, and Alt+H reveals hidden objects. This hiding state is distinct from restrict viewport and render, and meant for temporarily hiding objects without affecting more persistent collection hiding. Object hiding is per view-layer, same as selection. It affects the viewport and any preview renders in there, but not final renders. In the outliner, different icons are now used for temporary hiding, and restrict viewport and render. Hidden objects are greyed out. Remaining design issues: * For lamps we probably still want to keep their effect on the scene, currently they are fully disabled by hiding. Arguably mesh lights or even objects being reflected or casting shadows are not that different but perhaps the special lamp exception from local view should remain. * We need a feature still to disabled this hiding for specific viewports, for render or animation preview where you want to see the entire scene while working in another view. * We need a new icon for restrict viewport, for now it uses a grid similar to the 2.4 icon. * Hiding objects does not preserve selection state as it did in 2.7, it's probably convenient to support this again?
2018-06-20Object Mode: enable mode locking by defaultCampbell Barton
This is meant to be default behavior for 2.8, see T55246
2018-06-19Fix missing render slots bugs after recent changes.Brecht Van Lommel
2018-06-19Blender Version BumpCampbell Barton
Without this, render slots aren't added.
2018-06-18Cleanup: simplify some view layer code.Brecht Van Lommel
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17Cleanup: trailing space for blenloaderCampbell Barton
2018-06-17Merge branch 'master' into blender2.8Campbell Barton
2018-06-17Cleanup: BLI path extension APICampbell Barton
Use BLI_path_extension_* prefix.
2018-06-16Merge branch 'master' into blender2.8Brecht Van Lommel
The Eevee AO node supports the new Normal socket, but ignores Distance, Samples, Inside and Only Local settings.
2018-06-15Cycles: change Ambient Occlusion shader to output colors.Lukas Stockner
This means the shader can now be used for procedural texturing. New settings on the node are Samples, Inside, Local Only and Distance. Original patch by Lukas with further changes by Brecht. Differential Revision: https://developer.blender.org/D3479
2018-06-15Cleanup: code styleCampbell Barton
2018-06-15Cleanup: G.main removal from 2.8-only code.Bastien Montagne