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-10Merge remote-tracking branch 'origin/blender2.8' into temp-eeveelightcachetemp-eeveelightcacheClément Foucault
# Conflicts: # source/blender/draw/engines/eevee/eevee_lightprobes.c
2018-07-09Fix T55868: duplicating collection instances fails sometimes.Brecht Van Lommel
2018-07-06Cleanup: remove unused shader node compatibility flag.Brecht Van Lommel
No longer needed after Blender Internal removal and Eevee replacing the Cycles GLSL shading nodes.
2018-07-06UI/Python: rename Lamps to Lights, to follow more standard terminology.Brecht Van Lommel
Internally it's still mostly named lamps, though some modules like Cycles were already calling them lights.
2018-07-06Merge remote-tracking branch 'origin/blender2.8' into temp-eeveelightcacheClément Foucault
2018-07-06Merge branch 'master' into 28Campbell Barton
2018-07-06Empty Object: Center images by defaultCampbell Barton
2018-07-06Merge branch 'master' into blender2.8Campbell Barton
2018-07-06BKE_addons: utility to remove by nameCampbell Barton
2018-07-05Ensure dependency graph exists before initializing editorsSergey Sharybin
Will help entering sculpt mode on file load by making it possible to fully initialize sculpt session. The goal is to make sure PBVH exists since the very beginning of file open (missing PBVH is a reason why object is not visible before first stroke). This is not enough yet to fully solve the issue, since entering sculpt mode tags object for Copy-on-Write update, which frees PBVH.
2018-07-05Fluidsim: ported from DerivedMesh to MeshSybren A. Stüvel
Also removed a bunch of unnecessary #include statements from fluidsim.c.
2018-07-05Ported CDDM_apply_vert_normals from DM to MeshSybren A. Stüvel
2018-07-05Merge remote-tracking branch 'origin/blender2.8' into temp-eeveelightcacheClément Foucault
2018-07-04GPUTexture: Support GL_R11FG11FB10F textures w/ GPU_DATA_FLOAT dataClément Foucault
This was needed for matcaps.
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-04Merge remote-tracking branch 'origin/blender2.8' into temp-eeveelightcacheClément Foucault
# Conflicts: # source/blender/draw/engines/eevee/eevee_lightprobes.c
2018-07-04Pass copy flag to modifier copyData functionSybren A. Stüvel
This will allow modifiers to decide whether to copy or share caches between ModifierData copies.
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-07-04SoftBody: refactored sbFree()Sybren A. Stüvel
This prevents having to wrap each call to sbFree() in an if(ob->soft) condition and assign ob->soft = NULL after calling. Furthermore, passing `Object *` allows us to change freeing behaviour depending on whether the object is an evaluated copy or an original (not done in this commit yet).
2018-07-04Softbody: unified copy functionsSybren A. Stüvel
This unifies two almost-identical functions at the expense of having to add one single 'flag' value at one call. This makes copy_softbody() aware of the source/dest objects, allowing it to make a distinction between doing depsgraph evaluation copies and real object copies. This will be used in an upcoming commit to ensure that the pointcache is shared between CoW copies, similar to the current approach for rigidbody simulation.
2018-07-03Sculpt: Fix wrong object used for crazy space calculationSergey Sharybin
Was applying modifiers twice, when it should not have. Is expected to solve mesh corruption when in sculpt mode.
2018-07-03Sculpt: Cleanup, spellingSergey Sharybin
2018-07-02Fix: Global area edges couldn't call right click menu to join/splitJulian Eisel
Operators ignored edges along the screen-layout bounds. They should've ignored those along window bounds instead. Although the global areas can not be joined/split, the adjacent areas can. So the menu should still be shown. Had to change the return value of area joining operator, so that an error report can show up when trying to join over a global area edge. Think this is fine to do, but you never know with such stuff. Preferably we'd gray out the "Join Area" item in the menu when clicking on the edge of a global area. Unfotunately the operator uses coordinates passed as operator properties to find the right edge/areas, which we cannot access from the poll callback.
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-07-01RNA: use bool for boolean RNA typesCampbell Barton
We were using int's for bool arguments in BKE, just to avoid having wrapper functions.
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-30UI: support adding menu's to favouritesCampbell Barton
2018-06-29Cleanup: Moar DM busting, mostly cleaning up MOD_utils.Bastien Montagne
2018-06-29Workbench: Spherical Harmonics testsJeroen Bakker
Added a compile directive in order to test SH4 in stead of SH2Win. For now I disabled SH4, it is a bit more clear, but has a small performance impact. Will check later for a better approach
2018-06-29Cleanup: remove another bunch of DM usages, includes etc.Bastien Montagne
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-29Cleanup: nuke G.main from BKE's particle_system.cBastien Montagne
2018-06-29Cleanup: some moar DM kicking, in armature edit code.Bastien Montagne
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-28Removed most calls to modifier_deformVerts_DM_deprecated()Sybren A. Stüvel
None of those calls actually passed a DerivedMesh.
2018-06-28Merge remote-tracking branch 'origin/blender2.8' into temp-eeveelightcacheClément Foucault
# Conflicts: # source/blender/gpu/GPU_texture.h # source/blender/gpu/intern/gpu_texture.c
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-28Cleanup: more DM include removal, use BAREMESH cddata mask in constraint code.Bastien Montagne
2018-06-27Cleanup: styleCampbell Barton
2018-06-27Cleanup: styleCampbell Barton
2018-06-27Fix T55644: Multires ignores render subdivision when simplifiedSergey Sharybin
We did not tell proper render/viewport context to subsurf derived mesh created for multires.
2018-06-27Cleanup: remove BKE's modifiers_bmesh.c, other DM removal/cleanup in BMesh code.Bastien Montagne
2018-06-27Cleanup: nuke DM out of constraint code.Bastien Montagne
2018-06-27Cleanup: remove some more DM usages...Bastien Montagne