Bastien Montagne
f54192e09a
Cleanup: internal apply modifier code: make it clear we use eval modifier and object.
2019-04-29 10:03:58 +02:00
Campbell Barton
564ffc060b
Fix T63963: Top-bar not showing for some files
2019-04-29 17:32:39 +10:00
Campbell Barton
94b7e1dcc6
Fix T63112: Gizmos fail to restore last cursor
2019-04-29 16:43:51 +10:00
Campbell Barton
c8bcddedff
Fix T63977: UV select linked has no attribute 'extend'
...
Also enable undo + register for select linked.
2019-04-29 16:00:39 +10:00
Campbell Barton
90a06259ee
Fix T63503: Set parent menu shown twice
...
When the 'type' property is set,
execute the operation instead of showing the menu.
2019-04-29 15:42:36 +10:00
Campbell Barton
d2859237fa
Fix T63898: "Open on Mouse Over" causes inconsistent draw-style
2019-04-29 15:25:56 +10:00
Campbell Barton
14897fb653
Cleanup: spelling
2019-04-29 14:14:14 +10:00
Campbell Barton
8821757d0d
Fix region action zone not working when hidden
...
Introduced in recent fix for T61554
2019-04-29 13:47:11 +10:00
Campbell Barton
dc2ce40c95
Docs: expand action-zone type comments
2019-04-29 13:45:49 +10:00
Campbell Barton
8b11b8b3cf
Fix shift-click to select multiple reports
...
D4751 by @Poulpator
2019-04-29 12:56:45 +10:00
Campbell Barton
bdefce0b21
GTest: BLI_path_util tests
...
Unit tests for:
- BLI_path_extension_check
- BLI_path_frame_check_chars
- BLI_path_frame_range
- BLI_path_frame_get
D4749 by @zazizizou
2019-04-29 12:51:33 +10:00
Campbell Barton
f2acf3bab6
Cleanup: use 'use_' prefix for RNA booleans
2019-04-29 11:26:17 +10:00
Richard Antalik
337cac760b
VSE: Cache rewrite
...
This patch implements new cache system.
Aim is to give user more control over cache, so it can be maximally
utilized. This is done through sequencer timeline side panel
in category proxy & cache.
Cached images are also visualized in timeline, controled by
sequencer timeline view->cache menu
Functional changes:
- NOT use IMB_moviecache API
- refactor names of cached image types
- each scene owns 1 sequencer cache
- merge preprocess cache into per-sequencer cache
- cache links images rendered per frame in order as they are created
- add cache content visualization tool
- add RNA properties to control the cache
More info can be found in design notes in blenkernel/intern/seqcache.c
and in https://developer.blender.org/D4443
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D4443
2019-04-28 14:50:48 -07:00
Antonioya
1b65ec0a9b
GPencil: Cleanup - Rename annotation drawing function names
...
Actually, the static functions had the same name used for grease pencil.
Now, the annotation functions have a different prefix.
2019-04-28 20:14:20 +02:00
Tomoaki Kawada
9e3246ce6e
Fix T63794: duplicating an armature clears B-Bones' custom handle references.
...
This patch fixes T63794 by updating duplicated bones' custom handle references
to point to the new armature's bones.
The problem occurs because B-Bones of a duplicated armature keep pointing to
the old armature's bones. The references are cleared upon entering Edit Mode
because there are no matching `EditBone` for such bones, and `find_ebone_link`
just returns `NULL` in such cases.
Reviewers: mont29, angavrilov
Maniphest Tasks: T63794
Differential Revision: https://developer.blender.org/D4726
2019-04-28 17:05:37 +03:00
Jörg Müller
91bb8da59f
Cleanup: clangg-format for rB157cc54ed521
2019-04-28 11:48:55 +02:00
Clément Foucault
d2f1705b15
Fix T63936 GPUSelect: Read depth in the end
...
fix T63936 introduced in 86914e7133 .
Reviewers: fclem
Reviewed By: fclem
Tags: #bf_blender
Maniphest Tasks: T63936
Differential Revision: https://developer.blender.org/D4750
2019-04-27 20:37:29 +02:00
Antonioya
6cb90d180f
Fix T63937: unconfirmed grease pencil strokes not visible in ortho suface
...
The value of the z-depth was too high. Now the value is valid for perspective and orthographic view.
2019-04-27 19:27:20 +02:00
Antonioya
19ebee657e
GPencil: Cleanup derived frame code
...
This is a previous step to move away the derived frame logic to be used in edit modes.
2019-04-27 12:02:26 +02:00
Campbell Barton
aa42da0385
Cleanup: comments (long lines) in blenkernel
2019-04-27 12:07:07 +10:00
Campbell Barton
fd1dd1134b
Cleanup: unused vars
2019-04-27 10:00:43 +10:00
Jörg Müller
157cc54ed5
Fix T63899: Can't get sound.factory on Windows
2019-04-27 00:13:43 +02:00
Clément Foucault
1fa7d51f34
Eevee: Noise Texture: try to fix floating point accuracy issue
...
Cycles check for infinity and return 0.0 otherwise.
2019-04-26 18:37:24 +02:00
Ray Molenkamp
941575b1f7
Fix T63853: BLI_current_working_dir did not return utf8 encoding on windows.
...
When running blender in paths with special characters this caused issues.
2019-04-26 09:53:55 -06:00
Bastien Montagne
0fddc48fb2
Minor cleanup in data transfer code.
2019-04-26 17:21:10 +02:00
Bastien Montagne
8973d1e769
Fix T63660: Data Transfer of normals No Longer Working.
...
Logic about computing of poly normals in final stage of modifier stack
evaluation was broken, giving also wrong loop normals.
2019-04-26 17:21:10 +02:00
Clément Foucault
8192bcd7c1
Fix T63886 Crash in UV Editing after faces display turn off / on
...
This patch also improve cache locality of the IBO filling. I did not benchmark if it made
any difference.
2019-04-26 17:03:25 +02:00
Clément Foucault
fe7605b710
Cleanup: Armature
2019-04-26 16:47:26 +02:00
Clément Foucault
7a48e25003
Armature: Speedup by removing unecessary check
...
drw_batch_cache_generate_requested() is only needed when the geom needs to be
created.
Went from 37fps to 47fps with artificial testcase (lots of bones with one custom shape). Baseline 2.79 is 24fps.
Also fix the drw_shgroup_bone_custom_wire.
2019-04-26 16:37:15 +02:00
Clément Foucault
d4827cfa81
Fix T58966 Sculpted changes dissapear visually when selecting a second object
...
Display sculpt mesh if there is a sculpt session.
2019-04-26 16:17:35 +02:00
Clément Foucault
86914e7133
GPUSelect: Don't read depth on every draw
...
If the draw uses the same id as the previous draw, there is no need to read the depth
buffer at this point, avoiding a CPU-GPU sync bubble.
Fixes T62511 Selection is significantly slower in production scenes.
With this patch glReadPixels is not the bottleneck. Regular drawing Is still very
slow so I would suggest fixing the regular drawing first before trying to
improve the selection algorithm.
2019-04-26 15:33:49 +02:00
Clément Foucault
50d75cd528
Fix T62880 Severe FPS drop with multiple bone shapes
...
Fix instancing batches not being reused by custom bone shapes.
Drawing thoses is now faster than 2.79 (40fps instead of 30fps)
2019-04-26 15:33:49 +02:00
Sergey Sharybin
03d482d212
Fix T63896: Removing Drivers in Python Leads to Crash
...
Adding and removing drivers must always tag relations for update.
2019-04-26 15:31:13 +02:00
Antonioya
7440f98f98
Fix T63897: GPencil Material Presets showing error
...
This error was introduced in a previous commit with the rename of the parameter.
Also added some missing values.
2019-04-26 10:14:50 +02:00
Campbell Barton
513b71c89a
Keymap: Support shift-click to select multiple reports
...
Also support drag for box-select, matching the outliner.
D4660 by @Poulpator with edits.
2019-04-26 16:00:27 +10:00
Campbell Barton
20c5f677d7
Cleanup: clang-format
2019-04-26 13:04:23 +10:00
Campbell Barton
e10884323e
Cleanup: unused variable warning
2019-04-26 13:02:44 +10:00
Clément Foucault
16639c6f1a
Fix T63784 Eevee : Black Diffuse with Principled BSDF and Mix Shader
...
This was cause by the SSS energy being lost when using SSRefraction. Also the mix
shader did not merge the discarded SSS light into the radiance.
2019-04-26 00:14:28 +02:00
Clément Foucault
ce148c1374
Cleanup: Node shader texture image
2019-04-25 23:23:27 +02:00
Clément Foucault
e85eb51a28
AVI: Fix buffer overflow
...
That was causing crashes when loading uncompressed avi files created with blender 2.79.
2019-04-25 23:23:26 +02:00
Philipp Oeser
56b0cd1db6
Fix T63605: Assert squeezing a template_curve_mapping in a panel to
...
almost zero horizontally
Reviewers: brecht
Maniphest Tasks: T63605
Differential Revision: https://developer.blender.org/D4690
2019-04-25 21:59:05 +02:00
Bruno Boaventura Scholl
b4c14faeaf
Text editor: convert tabs to spaces on paste
...
If the Tabs as Spaces settings is enabled for the text block. This avoids
issues with inconsistent indentation when pasting Python code from another
source.
Differential Revision: https://developer.blender.org/D4512
2019-04-25 19:25:58 +02:00
George Vogiatzis
4d1128872e
UI: keep timeline collapsed to header size when resizing window
...
This restores functionality lost with e8c9e85401 .
Differential Revision: https://developer.blender.org/D4714
2019-04-25 18:19:54 +02:00
George Vogiatzis
7f45e79e1a
Cleanup: remove unneeded screen_refresh_headersizes
...
screen_geom_vertices_scale already checks if areas are too small for header.
And header size will be set in region_rect_recursive from ED_area_initialize.
Differential Revision: https://developer.blender.org/D4711
2019-04-25 18:19:54 +02:00
Harley Acheson
5a10552745
Fix small outliner drawing performance regression
...
Differential Revision: https://developer.blender.org/D4712
2019-04-25 18:19:54 +02:00
Harley Acheson
b89cabb300
UI: hide redundant menu separators automatically
...
Differential Revision: https://developer.blender.org/D4682
2019-04-25 18:19:47 +02:00
Clément Foucault
905f2d84af
DRW: Use culling when selecting
...
The culing still seems to be off but at least it is enabled now.
2019-04-25 17:27:21 +02:00
Clément Foucault
21aa4d73bf
DRW: Cleanup: use iter_flag const for readability
2019-04-25 17:27:21 +02:00
Antonioya
c04dcde0ba
Fix T63846: In Orthographic View, unconfirmed Grease Pencil strokes do not appear in front of Reference Images
...
In orthographic, the z-depth was wrong.
2019-04-25 17:11:58 +02:00
Jacques Lucke
dedd3338d6
Cleanup: remove verbose debug print
2019-04-25 16:31:02 +02:00