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
path: root/source
AgeCommit message (Collapse)Author
2018-05-02UI: open toolbar hold buttons on dragCampbell Barton
Allows for faster tool switching, no need to wait for it to open.
2018-05-02Modifiers: ported Bevel modifier DerivedMesh → MeshSybren A. Stüvel
This introduces `BKE_mesh_to_bmesh_ex()`, which exposes all of the `BMeshFromMeshParams` parameters to the caller. This is required to enable the `calc_face_normal` flag, which is required for the Bevel modifier. This also introduces `BKE_bmesh_to_mesh()`, which allocates a new `Mesh`, converts the `BMesh` to it, and returns it. The returned mesh is owned by the caller.
2018-05-02Workbench: Single Color ModesJeroen Bakker
- ability to switch between Single Color, Object Color, Material Color and Random Color - fixed Shading and Lighting popover - Renamed Solid -> Single Color
2018-05-02UI: don't allow disabled popovers to open w/ dragCampbell Barton
First dragging over active menu items could be used to open a disabled popover.
2018-05-02UI: run redo poll check in operators contextCampbell Barton
2018-05-02UI: fix operator redo showing empty popoversCampbell Barton
Many operators have no options, showing a popover button with no content isn't good.
2018-05-02UI: disable popovers when panel poll failsCampbell Barton
2018-05-02WM: utility to check if an operator will draw a UICampbell Barton
Checking if a redo operator will show something is needed to avoid empty redo popover.
2018-05-02Edit Mesh: look-cut copy-on-write supportDalai Felinto
Note: As already commented in the code, the ideal solution would be to pass select mode as parameter to ED_view3D_backbuf_validate. Without that we have to resort to the hack solution of writing to evaluation data.
2018-05-01UI: move object selector into 3D viewCampbell Barton
This matches the new convention for left-handed mode selectors, however we're still undecided on exactly how this should work. For now test this out as a convention for all space types.
2018-05-01Eevee: Don't enable temporal AA when using 1 sample only.Clément Foucault
This was producing infinite rendering but wasn't noticeable.
2018-05-01Eevee: Shadows: Only tag as shadow caster if a shadow is cast.Clément Foucault
This leads to great improvement if the scene have moving objects without shadows (shadows disabled in the material panel).
2018-05-01UI: move space-mode selectors before menu itemsCampbell Barton
This adds a convention to have a spaces primary mode selector positioned to at the left of the header.
2018-05-01Modifiers: Fix crash when entering edit mode on unported modifiersSybren A. Stüvel
2018-05-01Fix number sliders for the topbarDalai Felinto
2018-05-01Extract common modifier parameters into ModifierEvalContext structSybren A. Stüvel
The contents of the ModifierEvalContext struct are constant while iterating over the modifier stack. The struct thus should be only created once, outside any loop over the modifiers.
2018-05-01FormattingSybren A. Stüvel
2018-05-01Modifiers: Array DerivedMesh → MeshSybren A. Stüvel
2018-05-01Introduced CDDM_from_mesh_ex() to create a non-referencing CDDMSybren A. Stüvel
This allows the mesh to be freed and the CDDM kept.
2018-05-01Modifiers: Mirror DerivedMesh → MeshSybren A. Stüvel
2018-05-01Modifiers: Armature DerivedMesh → MeshSybren A. Stüvel
The mesh parameter of armature_deform_verts() is now const, to indicate that it's safe to pass ob->data to it directly.
2018-05-01Modifiers: Simple Deform & Build, DerivedMesh → MeshSybren A. Stüvel
This commit introduces `EditMeshData`. The fields in this struct are extracted from `EditDerivedBMesh` into their own struct `EditMeshData`, which can then also be used by the `Mesh` struct. This allows passing deformed vertices efficiently to the draw routines. The modifier code constructs a new Mesh instead of writing to ob->data; even when ob->data is a CoW copy, it can still be used by different objects and thus shouldn't be modified by a modifier.
2018-05-01Modifiers: Add wrapper functions with Mesh / DerivedMesh conversionMai Lavelle
Makes the follow changes: - Add new `deform*` and `apply*` function pointers to `ModifierTypeInfo` that take `Mesh`, and rename the old functions to indicate that they take `DerivedMesh`. These new functions are currently set to `NULL` for all modifiers. - Add wrapper `modifier_deform*` and `modifier_apply*` functions in two variants: one that works with `Mesh` and the other which works with `DerivedMesh` that is named with `*_DM_depercated`. These functions check which type of data the modifier supports and converts if necessary - Update the rest of Blender to be aware and make use of these new functions The goal of these changes is to make it possible to port to using `Mesh` incrementally without ever needing to enter into a state where modifiers don't work. After everything has been ported over the old functions and wrappers could be removed. Reviewers: campbellbarton, sergey, mont29 Subscribers: sybren Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D3155
2018-05-01Typo fixSybren A. Stüvel
2018-05-01Added note about potential crash in add_orco_dm()Sybren A. Stüvel
2018-05-01Eevee: Fix crash when using visibility groups with dupli objects.Clément Foucault
2018-05-01Eevee: Contact Shadows: Add slope based bias & fix brightening.Clément Foucault
2018-05-01Eevee: Fix raytracing.Clément Foucault
- Fix the confusing naming in raycast() - Fix raytrace acne caused by the rays not being correctly centered on the texel.
2018-05-01Fix: Silence |RNA_boolean_get: WM_OT_save_as_mainfile.exit not found." ↵Joshua Leung
warning on exit The operator in question doesn't define this property. I'm commenting out for now in case another operator actually still uses it.
2018-05-01Fix previous commit, sorry about that :/Bastien Montagne
2018-05-01Static override: rename highly confusing var name in apply code.Bastien Montagne
We use 'reference' to designate the linked ID which is being overridden by the local one, so using 'reference' to designate the stored local ID in apply RNA code was... not a good idea. ;)
2018-05-01Icons: updated icons from @billreynishCampbell Barton
This adds vertex paint & sculpt icons + other minor changes.
2018-05-01Merge branch 'blender2.8' of git.blender.org:blender into blender2.8Jeroen Bakker
2018-05-01Overlay: Enabled wireframe drawing for vertex/weight paintJeroen Bakker
This is a temp hack, so that billrey can use blender 2.8 for drawing the icons. Hack will be phased out by T54910
2018-05-01Fix compiler warning: Uninitialised varJoshua Leung
2018-05-01Add/finish rna read-only access to actual override rules.Bastien Montagne
For some reasons did not add operations themselves previously...
2018-05-01Static Override: fix 'search matching override operation' function.Bastien Montagne
Previous code was waaaayyyy to flacky, returning matches for things that did not actually have much in common!
2018-05-01Depsgraph: Add missing relations needed for nested datablock relationsSergey Sharybin
2018-05-01Fix crash opening file saved in weight paint modeSergey Sharybin
2018-05-01Nodes: Remove workaround for action copySergey Sharybin
Actions shouldn't be copying by new library management code. Or at least should be possible to make it to not copy actions or do unneeded user management. This way we avoid modification of original data which could and does cause threading conflict with copy-on-write which could be happening for viewport.
2018-05-01Tool System: add paint poll which ignores the toolCampbell Barton
Needed for tools which ensure paint context but aren't brushes (color sample & gradient).
2018-05-01Tool System: support non-brush tools w/ paint modesCampbell Barton
Allows select, gradient tools not to conflict with brush keymap.
2018-05-01Fix missing copy-on-write update when changing edit mode selection modeDalai Felinto
2018-05-01Fix edit mesh selection with copy-on-write enabledSergey Sharybin
2018-05-01Merge branch 'blender2.8' of git.blender.org:blender into blender2.8Jeroen Bakker
2018-05-01Workbench: Shading popoverJeroen Bakker
- Moved random object color and object outline to shading popover as these are draw options.
2018-05-01Fix crash opening files saved in sculpt/vertex paint modesSergey Sharybin
Skip access to any evaluated data when operator is run on file load, we don't have depsgraph evaluated yet. In this case we skip part of sculpt session initialization, since it will be done during depsgraph evaluation which happens after DEG_on_visible_update(). We can not skip sculpt session initialization since during normal operation we want all the data to be initialized on mode change, and not on initial brush stroke.
2018-05-01Mark localized node trees and materials as suchSergey Sharybin
Makes it easier to see where the datablock is coming from.
2018-05-01Depsgraph: Extra sanity checks for copy-on-write taggingSergey Sharybin
2018-05-01Depsgraph: Put original and evaluated ID node pointers to graphvizSergey Sharybin