Porteries Tristan
153cebd95b
BGE: Fix bug with default material and MTFace.
...
It set default material even if there are a MTface but no blender material.
Tested in GLSL and Multitexture.
Reviewers: HG1
2015-05-25 10:33:04 +02:00
Campbell Barton
a5a648c7c6
Fix error redoing shrink fatten
...
Use a property to store even-offset option.
2015-05-25 15:45:56 +10:00
Campbell Barton
7fd93dc8dc
Fix bend in object mode (wasn't rotating objects)
2015-05-25 10:37:09 +10:00
Campbell Barton
fe9ce6603c
Fix memory leak /w bend tool
2015-05-25 10:37:09 +10:00
Campbell Barton
7b60a0f64b
Cleanup: const char for operator ID's
2015-05-25 10:37:09 +10:00
Bastien Montagne
78918e761f
Fix T44814: 'preview' icons would not greyout.
...
Since they are premultiplied, we need separated handling of colors and alpha blending
if we want additional alpha factor to work OK.
2015-05-24 18:35:14 +02:00
Bastien Montagne
a28adf1b35
Some more minor cleanup in new icon preview code.
2015-05-24 16:50:15 +02:00
Campbell Barton
febf8cb01d
Cleanup: style
2015-05-25 00:19:39 +10:00
Campbell Barton
7f89bc8e85
Fix rare crash duplicating fluidsim
2015-05-25 00:19:39 +10:00
Campbell Barton
f9b6f5756c
Fix crash clearing skin data on non mesh
2015-05-25 00:08:43 +10:00
Campbell Barton
0305e9604b
Fix RNA type access
2015-05-25 00:08:43 +10:00
Bastien Montagne
7456f06097
Fix unreported bug with recent enum icon preview changes, would show bad in case of mixing
...
items with and without label.
2015-05-24 15:49:04 +02:00
Campbell Barton
4737722968
Fix error joining tris -> quads
...
Incorrect flag check, would need to run multiple times.
2015-05-24 21:54:21 +10:00
Porteries Tristan
2da9a39418
BGE : Fix black material on meshes without materials in blenderplayer.
...
Blenderplayer forgot to initialize the default material (defmaterail) with function init_def_material().
This reverts also the plumber commit 2fa4a48bce .
Reviewers: campbellbarton
2015-05-24 11:46:57 +02:00
Ines Almeida
78250f1d1d
IconView template: adding optional labels to popup buttons
2015-05-23 16:21:05 +01:00
Campbell Barton
f01c6e185f
Cleanup: typos
2015-05-23 22:38:47 +10:00
Campbell Barton
f340595dba
Quadric: add common why doubles are used.
2015-05-23 22:37:46 +10:00
Campbell Barton
bc83076355
Math Lib: update API usage info
2015-05-23 22:37:37 +10:00
Bastien Montagne
25f5d2b4d7
Fix (unreported) broken RNA Image pack handling since multiview merge.
...
Was breaking loading of embedded FBX images (among other things, most likely).
2015-05-22 23:28:41 +02:00
Antony Riakiotakis
e529882be0
Fix second crashing part of T44497, out of bounds access to hook
...
modifier data.
Unfortunately seems like we also lose the hook mapping by doing this,
but this can be fixed later and is probably a separate issue.
2015-05-22 16:59:22 +02:00
Bastien Montagne
be6479c9ea
Fix T44801: Blender crash in UV-editor.
...
Mistake in cleanup rB30b45d55... Odd compiler did not yell at that. :|
2015-05-22 11:01:22 +02:00
Campbell Barton
ed2cb8de2f
Fix for join faces ignoring angle limit
...
Angle limit for join-faces was more advice then actual limit.
Now joining entire selection, gives assurance that no faces above the limit will be merged.
The purpose of this was to allow users to isolate 2 faces and always join them.
Instead, support this by bypassing limit only when its not set and 2 faces are selected.
2015-05-22 18:14:03 +10:00
Campbell Barton
476feb622c
BMesh: extrude region didnt copy edge flags
...
Newly created edges around regions wouldn't get the edge flags from surrounding geometry.
2015-05-22 11:00:14 +10:00
Antony Riakiotakis
8843a09df3
Fix T44744, tangents incorrect in edit mode.
...
Really bad code here, index of fetched data was basically totally off
and unrelated to what it should be.
2015-05-21 20:28:17 +02:00
Antony Riakiotakis
e8014352c6
Yet another crappy Intel driver added for correct SSAO support.
2015-05-21 18:37:48 +02:00
Antony Riakiotakis
f6062638c1
Fix crash in blenderplayer when scrubbing off screen.
...
Was cache referencing deleted or NULL items.
Reported by Kopias on irc
2015-05-21 17:37:11 +02:00
Antony Riakiotakis
d3c67bc81e
Fix T44791 triangles when painting on a texpaint plane
...
Problem was float precision issues across tile boundaries. Since we are
comparing pixels, give a small tolerance when comparing clipped vertices
against triangle lines.
2015-05-21 16:06:42 +02:00
Joshua Leung
25bedeca9b
GPencil Eraser Size-Saving Fix
...
On second thought, the eraser size should be saved even if the brush type is not
eraser, as we can toggle this now.
2015-05-22 01:21:29 +12:00
Joshua Leung
389564c711
Fix T44774: Grease Pencil eraser size reset after exiting session
...
Previously, it would only save the eraser size if the session ended properly,
instead of being cancelled. However, that wouldn't happen if exiting the session
using Esc.
2015-05-22 01:21:28 +12:00
Campbell Barton
03eee4dce7
BMesh: decrease decimate epsilon
...
Since using doubles to calculate cost,
using topology fallback cost isn't needed as much.
2015-05-21 22:46:33 +10:00
Campbell Barton
e37c4e5819
Fix T44780: Decimate planar creates concave edges
...
Float precision was causing problems for decimate,
small faces that create a nearly flat surface were detected as having no 'cost' to collapse.
2015-05-21 21:06:30 +10:00
Campbell Barton
6ee653352b
Math Lib: double versions of vector funcs
...
- add_vn_vn_d
- add_vn_vnvn_d
- mul_vn_db
2015-05-21 21:06:29 +10:00
Bastien Montagne
6b40a4bcb1
Fix T44794: Blend From Shape tool X Icon UI Bug?
...
Note: maybe we could even make `RNA_property_is_unlink()` always return false
for enum properties? But well, guess being explicit here does not hurt...
2015-05-21 12:00:31 +02:00
Campbell Barton
aa54d93a29
BMesh: decimate improvement for flat surfaces
...
Previously decimate on flat areas of a mesh would more or less randomly collapse edges.
(giving bad topology).
This commit includes a topology 'cost', so smaller edges on flat surfaces collapse first.
2015-05-21 16:41:08 +10:00
Campbell Barton
2c000cc9fc
Fix mesh mirror failing on isolated verts
2015-05-21 13:01:44 +10:00
Campbell Barton
9bfea67751
UI: Use Ctrl+Wheel to cycle values
...
Conflicted with Alt for editing multiple values.
This could also conflict with global frame change at times.
2015-05-21 11:06:24 +10:00
Campbell Barton
1aa1a53115
UI: ignore mouse wheel while editing text
...
Mouse wheel was used as home/end.
Was annoying since it could happen by accident.
2015-05-21 10:46:22 +10:00
Campbell Barton
2b0613b948
Fix: GPU_shader_export fails /w some lamp attrs
...
first/last vars missed some values.
D1309 by @NHA
2015-05-21 08:48:21 +10:00
Campbell Barton
b5bf5b36f1
BMesh: decimate, test for face flip was too low
...
Created overlapping faces in T44780
2015-05-21 00:00:13 +10:00
Campbell Barton
24e1d7f4f4
BMesh: decimate wasn't using face/edge centers
...
When calculating quadrics, using the first-vertex isn't correct.
2015-05-21 00:00:13 +10:00
Sergey Sharybin
8edfcf653a
Movie Clip: Invlaidate clip cache when changing timecode
2015-05-20 17:52:58 +05:00
Campbell Barton
77ef3f9041
Fix T44717: use_negative_frames ignored /w graph-editor
...
D1303 by @barfot
2015-05-20 21:58:33 +10:00
Sergey Sharybin
eb6bab25ba
Add dedicated command argument to switch depsgraph to a single-threaded evaluation
...
This way it is possible to have single threaded depsgraph but threaded other areas
which is handy for torubleshooting.
he argument is: --debug-depsgraph-no-threads
2015-05-20 15:48:29 +05:00
Antony Riakiotakis
8c6a9b9edc
Fix reserve frames in sequencer failing with big frame ranges.
...
Detect frame range automatically from number of digits.
2015-05-20 12:42:00 +02:00
Sergey Sharybin
f4d064a5b2
Send color managed signal if input spaces changes during image saving
...
We're currently only supporting save to a default format color space, which
makes it a bit tricky to prevent ImBuf from being changed.
For until when saving to a custom colorspace works we'll just reload image
if the space changes.
2015-05-20 15:33:30 +05:00
Campbell Barton
5d30c23c35
doxygen: corrections/updates
...
Also add depsgraph & physics
2015-05-20 14:12:22 +10:00
Porteries Tristan
a1e8547877
BGE: Use CameCase code style for KX_WorldInfo python API.
2015-05-19 23:13:30 +02:00
Porteries Tristan
377822729c
BGE: Fix T40555: LibLoad material caching issue
...
Previously we don't merge material cached list, it create dangling pointer and memory leak.
Now we merge material cache list during the scene merge, and remove material in this list during the library free.
Reviewers: agoose77, dfelinto, hg1, pgi, campbellbarton, moguri
Reviewed By: campbellbarton, moguri
Subscribers: campbellbarton, youle, kupoman
Projects: #game_engine
Differential Revision: https://developer.blender.org/D1278
2015-05-19 19:24:14 +02:00
Antony Riakiotakis
fccf253e36
Support string metadata loading for OpenEXR files.
2015-05-19 18:32:41 +02:00
Antony Riakiotakis
150a4b23ba
Fix part of T44768 Yet another Intel driver failing on viewport Ambient
...
occlusion
(Maybe we should add drivers that DO work instead, but in the future
those will be much more since Intel claims to have fixed the issue)
2015-05-19 16:25:42 +02:00