Commit Graph

65431 Commits

Author SHA1 Message Date
Campbell Barton
4b2b8a0c3f Fix T57351: Deform modifiers skipped in editmode 2018-10-24 14:48:17 +11:00
Dalai Felinto
175326fed7 Fixup for LATTICE_OT_flip
Committed by accident (1076523b1b).
But now I need to fix building.

Note: The operator itself shouldn't have been committed because it
should operate in the world space (for the axis), not local.

I will tackle this later.
2018-10-24 00:00:57 -03:00
Dalai Felinto
975974e291 Silence some false positiver warnings 2018-10-23 23:47:04 -03:00
Dalai Felinto
1076523b1b Multi-Objects: LATTICE_OT_flip 2018-10-23 23:29:51 -03:00
Campbell Barton
69dd58f210 Fix mapped mesh display skipping generated faces 2018-10-24 13:12:18 +11:00
Campbell Barton
7dfd3539d5 Cleanup: use bmesh index access functions 2018-10-24 13:07:21 +11:00
Campbell Barton
860dd31647 Merge branch 'master' into blender2.8 2018-10-24 12:55:44 +11:00
Campbell Barton
db69deea89 BMesh: inline index lookups
For release builds this is now the same as indexing the array directly.
2018-10-24 12:54:26 +11:00
Campbell Barton
901ccfab52 Fix T57366: Mesh.from_pydata invalid loose-edge state 2018-10-24 11:37:44 +11:00
Dalai Felinto
9f1857002e Multi-Objects: LATTICE_OT_select_more/less
Note: Those operators are yet to be added to the menu.
2018-10-23 20:38:30 -03:00
Dalai Felinto
c052d38d0a Multi-Objects: LATTICE_OT_select_ungrouped
I thought about having a single error message, or to use BKE_reportf to just
add the "s". That would be bad for translators, so now we have two
explicit messages.
2018-10-23 20:25:59 -03:00
Clément Foucault
ed7f6b511f Eevee: Fix lightcache not working for small caches
Was caused by a threading issue. The lightcache was free before the endjob
function pass it to the scene.

Also fix cache reuse if size matches.
2018-10-23 18:04:45 +02:00
Clément Foucault
8e8d1cab6f Eevee: Fix crash when clicking the lightcache bake button multiple time 2018-10-23 18:04:45 +02:00
Clément Foucault
ee8e866a0e Eevee: Fix crash when baking
Was caused by the normal pass being enbaled in the renderlayer settings.

Fix T57344
2018-10-23 18:04:45 +02:00
Clément Foucault
2c35307f09 Workbench: Use AntiAliasing in render even if not enabled in the User Prefs 2018-10-23 18:04:45 +02:00
Clément Foucault
8742f6358b Workbench: Fix Wrong AntiAliasing in renders
Was caused by offseting the same matrix for each samples instead of adding
the offset to the original projection matrix.
2018-10-23 18:04:45 +02:00
Clément Foucault
51b6e313de Fix T57326: Adding Scene with Transparent Film to VSE Crashes Blender
Previous Framebuffer can be NULL.
2018-10-23 18:04:45 +02:00
Clément Foucault
28d5ebbc15 Wireframe: Fix wireframe object drawtype with "in front" draw option
First problem is that enabling the "in front" option made the wire object
test against an not updated stencil buffer.

Second problem is that the "in front" option was useless on wire objects.
To fix this we bypass the depth test and live with some sorting problem.
2018-10-23 18:04:45 +02:00
Clément Foucault
238d3471bd Xray Mode: Fix wireframe object display type not being correctly occluded 2018-10-23 18:04:45 +02:00
Antonioya
3e9405e26d GP: Add new frame scale parameter to Time modifier
This new parameter allows to increase or decrease the animation speed to break animation patterns when reuse data blocks.
2018-10-23 16:47:09 +02:00
Sergey Sharybin
ca003d0f5c Fix missing relations update after allocating compositor
Compositor has own node in the dependency graph, so need to make
sure relations are up to date.

This fixes wrong user counter when creating compositor nodes for
a new scene.
2018-10-23 15:38:09 +02:00
Sergey Sharybin
1ab08a2dff Rename editor to "Texture Node Editor"
This editor edits nodes, and the old name of "Texture Editor" is misleading,
since when one want to edit it is unclear whether UV/Image or Texture editor
is more suitable for the task.
2018-10-23 14:29:13 +02:00
Jacques Lucke
767b49e492 Fix: missing sequencer update
This should be fixed differently in the future. Read D3821 for more details.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D3821
2018-10-23 14:03:57 +02:00
Antonioya
bc480c4989 GP: Rename modifier Time to Time Offset 2018-10-23 13:16:15 +02:00
Antonioya
7cb0e1499d Fix compiler error in Windows 2018-10-23 13:13:04 +02:00
Bastien Montagne
f927f388f6 Fix T57288: Assert when deleting duplicated collection (id->us == 0).
Copying an ID also add a default user to new one (just like creating an
ID), by default...
2018-10-23 12:00:46 +02:00
Antonioya
6d1fd1dc58 GP: Reduce samples in glow
The number of samples was too high.
2018-10-23 10:57:50 +02:00
Jacques Lucke
fc3d771801 GPUShader: shader.uniform_float parameters
Allow to pass in single numbers, sequences and mathutils.* types into `shader.uniform_float`.

Reviewers: mano-wii

Differential Revision: https://developer.blender.org/D3820
2018-10-23 10:19:08 +02:00
Campbell Barton
32de646d3d Multi-Objects: Calculate Transform origin w/ all editmode meshes
D3550 by @Leon95
2018-10-23 17:55:02 +11:00
Campbell Barton
bb3d999571 Fix T57190: loopcut crash w/o overlays 2018-10-23 15:16:49 +11:00
Campbell Barton
756ac74f81 Cleanup: rename 'dm' -> 'me' for 'Mesh' types 2018-10-23 15:00:40 +11:00
Campbell Barton
dbdf653f8e Fix bad origindex layers for editmode modifiers
Reverts workaround from last commit.
2018-10-23 13:53:42 +11:00
Campbell Barton
e3013fdc3b DRW: workaround for editmode crash w/ constructive modifiers
Actual cause is bad orig-index layer,
commit this to avoid crash for now.
2018-10-23 12:34:34 +11:00
Campbell Barton
5891f81f25 Cleanup: style, warning 2018-10-23 11:01:25 +11:00
Campbell Barton
e5182fa101 Cleanup: rename VertBuf.fill_attribute > attr_fill 2018-10-23 10:50:48 +11:00
William Reynish
43c6aba670 Fix various icon related issues:
* Used correct icons for Tracking.
* Flip Copy/Paste icons so they are correct.
* Add correct icon for softbody modifier.
* Replace speaker icons for enabling F-Curves with checkboxes.
2018-10-22 19:28:24 +02:00
Brecht Van Lommel
efa3389b83 Fix build after recent changes, filename must have right case. 2018-10-22 19:10:48 +02:00
Antonioya
7e3c954bea Fix memory leak in drivers pover 2018-10-22 18:58:07 +02:00
Antonioya
e010d5e3b1 GP: New Time modifier
This modifier allows to offset the keyframe animated to get more variations in the animation when reuse the same datablock.
2018-10-22 18:30:26 +02:00
Ray Molenkamp
4bf4da12de Merge remote-tracking branch 'origin/master' into blender2.8 2018-10-22 10:19:06 -06:00
Ray Molenkamp
86dbbd156f Windows: Enable python debugging in Visual Studio.
see D3817 for technical details, and https://wiki.blender.org/wiki/Tools/Debugging/Python_Visual_Studio for a end user quick-start guide.

Differential Revision: https://developer.blender.org/D3817
2018-10-22 10:17:08 -06:00
mano-wii
9d81e937d2 Optimizadion: Fix performanse issue of UI on some old GPUs.
Apparently the registry is not large enough and the compiler does something bad in indexing the array.
2018-10-22 12:59:09 -03:00
Jacques Lucke
650cdc6b2d Drag & Drop: Support Open/Link/Append when dropping .blend file
When a .blend file is dropped into Blender a small menu opens.
In that menu the user can choose between three options: Open, Link and Append.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D3801
2018-10-22 17:18:42 +02:00
Sergey Sharybin
0628fe7a6c Followup to previous change, reduce number of relations updates
Only tag relations update when new f-curve was allocated. This solves
possible too slow keyframe insertion when doing character animation,
but still does proper relation update when new ID component became
animated.
2018-10-22 17:13:19 +02:00
Sergey Sharybin
3c655fd372 Depsgraph: Fix missing relation update
The issue was happening when adding animation to properties
which affects different components of IDs.

Reported by Philipp Oeser as part of T56636.
2018-10-22 16:49:39 +02:00
Sergey Sharybin
b4ebb9d8ef Fix T56636: Custom property cannot be animated
No need to tag object for time update, with new dependency graph
this forces animation to be re-evaluated, which is not something
we want in this instance.

Same patch/solution Philipp Oeser came to as well.
2018-10-22 16:43:49 +02:00
Sergey Sharybin
eba9c1507a Mark TODO/XXX as solved
We do have proper access to bmain now.
2018-10-22 16:43:34 +02:00
Clément Foucault
b31fc40fcd DRW: Fix missing uniform warning in debug mode
Fix T57318
2018-10-22 15:56:12 +02:00
Clément Foucault
a20c590966 DRW: Fix crash on startup for old Nvidia drivers
This should fix T57296 once and for all.
2018-10-22 15:56:12 +02:00
Jacques Lucke
59054d5eba Python API: fix docstrings 2018-10-22 15:01:25 +02:00