Sergey Sharybin
540b99bd28
Cycles: Free evaluated meshed when we are done with object
2018-06-25 17:28:46 +02:00
Sergey Sharybin
7cd86cd1fe
Cycles: Fix memory leak with session
...
We didn't check for sync object being already allocated.
In fact, we simply need to use proper function to free
session.
2018-06-25 17:28:46 +02:00
Brecht Van Lommel
c2110213ca
Physics: update softbody and dynamic paint to get colliders from depsgraph.
...
Because looping over the scene is unsafe and slow.
2018-06-25 17:15:07 +02:00
Brecht Van Lommel
2c9b32949b
Cleanup: refactor depsgraph physics API functions.
2018-06-25 17:15:07 +02:00
William Reynish
26251282e0
UI: Single-column layout for Force Fields and Particles
...
Force Fields and Falloff are now simpler and more compact
by removing unnecesary labels (there was a text label just for one option)
Particle Force Fields Falloff is now a sub-panel of each effector type,
rather than just as a section with label.
2018-06-25 17:04:40 +02:00
William Reynish
51e077c5c0
UI: Single-column layout for View Layer, passes and World
2018-06-25 17:02:50 +02:00
William Reynish
153195da22
UI: Single-column layout for Texture Color
2018-06-25 17:01:54 +02:00
William Reynish
5ddba52029
UI: Single-column layout for Shape Keys and Geometry Data
2018-06-25 17:00:00 +02:00
Bastien Montagne
eefe878660
Fix T55360: marker-based Camera switch focal length bug.
...
Scene was missing DEG tag update when its camera was changed based on
active 'camera marker'.
2018-06-25 16:21:24 +02:00
Bastien Montagne
476b4c415c
Fix T55493: Sculpting on smooth shaded bug.
...
Undo was not tagging PBVH to update normals too...
2018-06-25 14:15:08 +02:00
Brecht Van Lommel
38d6e82d1a
Fix use of non-evaluated collision and effector objects.
...
Only enabled objects in the view layer should be used, while temporarily
hidden objects should still have an effect.
2018-06-25 14:11:55 +02:00
Brecht Van Lommel
817bf582c2
Cleanup: rename object base flags to be more clear.
2018-06-25 14:09:17 +02:00
Brecht Van Lommel
a99dcab148
Depsgraph: cache collision relations, for performance and stability.
...
Same reasoning as effector relations in earlier commit.
2018-06-25 13:35:41 +02:00
Bastien Montagne
5b3ff9f7d8
Cleanup: Move colorband handling from DM to mesh_runtime universe.
2018-06-25 13:04:24 +02:00
Pablo Vazquez
e10eb5bcb8
UI: In user preferences group Developers Extra and Python Tooltips
...
Move Navigation Manipulator toggle next to Mini Axis as they are related
(and in the future merged into one pulldown) and rename Manipulator
to "Transform Manipulator" to make it clear they're different kinds
of manipulators. Also move to the first column next to other viewport settings.
2018-06-25 12:58:28 +02:00
Bastien Montagne
e97237892c
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/gpu/GPU_draw.h
source/blender/gpu/GPU_material.h
source/blender/gpu/intern/gpu_draw.c
source/blender/gpu/intern/gpu_material.c
source/blender/makesrna/intern/rna_userdef.c
source/blender/windowmanager/intern/wm_files_link.c
source/blender/windowmanager/intern/wm_init_exit.c
source/creator/creator_args.c
source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
source/gameengine/Ketsji/KX_PythonInit.cpp
source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp
2018-06-25 12:50:32 +02:00
Sergey Sharybin
cdee53edfc
Cycles: Cleanup, indentation
2018-06-25 12:39:44 +02:00
Bastien Montagne
8a7f317666
Cleanup: Nuke most of G.main from GPU code.
2018-06-25 12:32:48 +02:00
Dalai Felinto
0145daa09b
Outliner: Make search always work
...
This was a flag in early 2.8 to allow users to hide the entire search prop.
Now since we want it fully expanded at all times, it makes no more sense.
2018-06-25 12:15:12 +02:00
Campbell Barton
861b0ec417
UI: Right align check-box for extra text space
...
See: T54951
2018-06-25 12:06:51 +02:00
Campbell Barton
29c1069244
Cleanup: code style
2018-06-25 12:06:51 +02:00
Bastien Montagne
f33cb522dd
Cleanup: Few more validation of G_MAIN usages...
2018-06-25 12:02:20 +02:00
Sergey Sharybin
7a4d5b78ea
Depsgraph: Add missing nodes and relations for speaker
2018-06-25 11:54:12 +02:00
Sybren A. Stüvel
c448c0a67f
RigidBody: Replaced 'if' with 'switch'
2018-06-25 11:24:55 +02:00
Sybren A. Stüvel
eb56ca3119
Rigid body: compute looptris on original mesh instead of CoW copy
2018-06-25 11:20:06 +02:00
Dalai Felinto
1099ac1ed9
Silence warning for release builds
2018-06-25 11:02:19 +02:00
Campbell Barton
d864332085
Merge branch 'master' into blender2.8
2018-06-25 09:48:10 +02:00
Campbell Barton
b09387c388
Add back header needed win32
2018-06-25 09:46:03 +02:00
Campbell Barton
d32e4ca701
Merge branch 'master' into blender2.8
2018-06-25 07:43:51 +02:00
Campbell Barton
f3b9fa5393
CMake: correct remove_strict_cxx_flags_file
...
Was still using C-flags.
2018-06-25 07:30:00 +02:00
Campbell Barton
a5b7f1ef53
UI: internal changes to user-menu storage
...
- 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-24 20:06:30 +02:00
Bastien Montagne
a59d7374ea
Nuke DM out of collada code.
...
Also, now use out-of-main temp copy of mesh for export, and fixed a
potential memleak (return without freeing temp copy of mesh, tsst).
2018-06-24 18:40:52 +02:00
Bastien Montagne
d0856d1d54
Fix most of 'disappearing' first letter in right-aligned labels.
...
BLF' blf_font_width_to_strlen() could easily generate strings with up to
nearly two pixels length over requested limit!
Note that the fiddling between floats and ints values make things really
confusing here... :/
There is still a few limit cases where, even though computed str length
is now always below reauested limit, we still get first letter
disappearing, no idea why currently.
2018-06-24 17:51:13 +02:00
Clément Foucault
6454319033
Lamps: Make default size more usable
...
This way the area light shapes are more visible (and usable) by default.
Changes were discussed with @venomgfx
2018-06-24 15:03:10 +02:00
Clément Foucault
a9bc880cf8
Object Mode: Add Shape visual for spot and point lamps
...
Since Eevee and Cycles both use lamp size for point lamps, displaying
the shape is now more relevant than before.
2018-06-24 15:03:10 +02:00
Brecht Van Lommel
574c716f2d
Cycles: change AO node color default to 1.0.
2018-06-24 12:24:30 +02:00
Campbell Barton
8f85cf033c
Merge branch 'master' into blender2.8
2018-06-24 11:08:14 +02:00
Campbell Barton
e61bbc00b7
Cleanup: move UI context menus into own file
2018-06-24 10:43:09 +02:00
Clément Foucault
a3cb9c8238
Wireframe Overlay: Add back the per edge hiding
...
This method is a bit more optimized than the very first one
because it does not rely on the adjacent faces properties.
That said it's still a bit slower than the per vertex method.
2018-06-24 00:01:02 +02:00
Clément Foucault
12bd80fefd
Eevee: Fix wrong depth test in main shading pass.
2018-06-23 21:26:21 +02:00
Campbell Barton
acb94b6c78
Typo in last commit
2018-06-23 20:57:09 +02:00
Campbell Barton
85c1e61375
UI: Add user defined context menu
...
- Add/Remove from RMB context menu.
- Stored in user preferences.
- Access from Q key.
See T55027.
2018-06-23 20:52:47 +02:00
Ray Molenkamp
2fa231a86b
Ghost: Fix F12 render on windows.
...
createOffscreenContext left the new context bound to the calling thread
causing a race condition with the background thread doing the actual
rendering. see T55555 for a more detailed description of the problem.
this patch changes the behavior of createOffscreenContext to restore the
context to the calling context.
Reviewers: fclem
Differential Revision: https://developer.blender.org/D3499
2018-06-23 11:37:35 -06:00
Campbell Barton
4ddb03ba79
Keymap: Add F3 key back for search
...
Keeping tilder, adding back F3 since some platforms
still don't have hardware scan-codes for tilder key on non-US keyboards.
2018-06-23 16:25:29 +02:00
Campbell Barton
6328214ec8
Manipulator: fix issue refreshing transform tool
...
Changing manipulator types failed.
2018-06-23 15:02:27 +02:00
Campbell Barton
43872124f7
Merge branch 'master' into blender2.8
2018-06-23 10:46:09 +02:00
Campbell Barton
f8a3636374
UI: alternate fix for empty context menu
...
block and layout could be NULL and checking this everywhere
wasn't practical.
Instead of lazy initializing, add UI_popup_menu_end_or_cancel
which cancels empty popup menus.
2018-06-23 10:31:10 +02:00
Campbell Barton
0511cded25
UI: naming of cursor options
2018-06-23 09:46:18 +02:00
Ray Molenkamp
575c71b670
Blenfont: Fix texture not being initialized in recent refactor.
...
Caused some gpus to have issues with the font shadows.
thanks @fclem for helping tracking this one down.
2018-06-22 14:35:32 -06:00
Campbell Barton
2d7606daa5
Missed last commit
2018-06-22 19:25:38 +02:00