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
Antony Riakiotakis
158c891520
Clear animation list to avoid referencing freed memory.
2015-05-19 16:15:55 +02:00
Campbell Barton
df0a1fa3c5
Fix T44766: Connect fails /w selected ngon edges
2015-05-19 23:51:57 +10:00
Campbell Barton
07e9fb8ec6
BMesh: calls to store selection at the list head
2015-05-19 23:51:57 +10:00
Campbell Barton
d3cc7419a3
BMesh: add BM_edge_pair_share_face_by_len
2015-05-19 23:51:57 +10:00
Antony Riakiotakis
78411dc7d7
Fix T44755 set_value node output in node tree not properly converted to
...
color in GLSL
Issue here is that intermediate result was clipped as an optimization in
such nodes and thus not converted to the correct type properly. Now only
clip those values if types match.
This keeps both the optimization and the conversion. I looked at
converting uniform types always but it's more involved to compare types
at conversion time for such links because the type was getting
overridden during link duplication.
2015-05-19 15:37:08 +02:00
Antony Riakiotakis
dc3533030a
Fix T44553.
...
Front face option did not get the correct normals to function - area
normal would always point to the direction of the stroke
2015-05-19 11:49:46 +02:00
Campbell Barton
e8561e966d
Fix T44762: Materials flicker in edit-mode
2015-05-19 19:13:25 +10:00
Sergey Sharybin
ac636a3c97
Fix T44759: Blender has problems reading and writing 42k images to PNG
2015-05-19 13:02:52 +05:00
Campbell Barton
293df68ebd
Object Drawing: avoid redundant material update
2015-05-19 18:00:20 +10:00
Campbell Barton
eb05e87e16
BMesh: editmode drawing set every faces material
...
Check for changes in material (as other drawing code already does)
2015-05-19 18:00:19 +10:00
Sergey Sharybin
da34136de1
Cycles: Check for validity of the tiles arrays in progressive refine
...
In certain configurations (for example when start resolution is set to small
value for background render and progressive refine enabled) number of tiles
might change in the tile manager. This situation will confuse progressive
refine feature and likely cause crash.
We might also add some settings verification in the session constructor, but
having an assert with brief explanation about what's wrong should already be
much better than nothing.
2015-05-19 12:42:07 +05:00
Sergey Sharybin
f868be6295
Cycles: Check for whether update/write callbacks are set prior to calling them
...
This changes the progressive refine part, regular update was already checking
for whether callbacks are set.
2015-05-19 12:42:07 +05:00
Campbell Barton
ddb1a068e9
SCons: install Python executable when its bundled
2015-05-19 16:44:19 +10:00
Campbell Barton
e698299e4f
CMake: install Python executable when its bundled
2015-05-19 16:44:19 +10:00
Campbell Barton
d5a85f87b0
Python: search for 'python' and 'python#.#'
2015-05-19 16:44:19 +10:00
Campbell Barton
3d70a04a8a
CMake: remove temp assignment, unused vars
2015-05-19 16:44:18 +10:00
Campbell Barton
183b643774
Building without Python works again
2015-05-19 11:38:07 +10:00
Antony Riakiotakis
65328fadc3
Final solution for Intel card Ambient Occlusion in T43987.
...
Forgot to account for offscreen case in addition to compositing
2015-05-18 22:10:54 +02:00
Julian Eisel
598c2dffe9
Fix T44708: UI label should use plural
...
Just to keep commit ratio up while being busy preparing for final exams
;)
2015-05-18 21:29:57 +02:00
Porteries Tristan
192fddb324
BGE: Fix blenderplayer bad call stubs not updated.
...
Please (dfelinto) compile the bge to avoid these kind of problems.
2015-05-18 18:54:13 +02:00
Porteries Tristan
5fa0b8778b
BGE: Set default envMap resolution to 512 pixels
...
I propose to change the environment map render default resolution (600) to 512 (Thanks brecht for the correction... I don't know why I said dpi) (to make it compatible with this script: http://en.wikibooks.org/wiki/GLSL_Pr...cting_Surfaces ) to make cubeMap reflections easier and avoid this error:
invalid envmap size please render with CubeRes @ power of two
unable to initialize image(0) in MAMaterial, image will not be available
http://blenderartists.org/forum/showthread.php?371232-BGE-proposal-Set-default-envMap-resolution-to-512-dpi
http://blenderartists.org/forum/showthread.php?370026-Problem-with-cube-map-textures (post 11)
Author : youle (Ulysse MARTIN)
Reviewers: hg1, agoose77, lordloki, moguri, panzergame, dfelinto
Reviewed By: panzergame, dfelinto
Subscribers: brecht
Projects: #game_engine
Differential Revision: https://developer.blender.org/D1306
2015-05-18 18:12:40 +02:00
Dalai Felinto
947b756d5e
Multi-View: small cleranup/refactor with RE_pass_find_by_type and RE_RenderLayerGetPass
2015-05-18 10:57:59 -03:00
Sergey Sharybin
cecd1f98a4
Fix T44752: Clip Editor doesn't respect ColorSpace setting when playback after Prefetch
2015-05-18 16:40:52 +05:00
Sergey Sharybin
45afc02f11
Solve threading conflict related on proxy group's inverse matrix
...
It was possible that two threads will start calculating proxy group's inverted
matrix and store it in the object itself. This isn't good idea because it means
some threads might be using partially written matrix.
2015-05-18 16:40:52 +05:00
Sergey Sharybin
61f9f508a4
Make object material drivers evaluation thread safe
...
Previously it was very easy to run into situation when two objects are sharing
the same materials with drivers which will cause threading access issues.
This actually only needed for the old depsgraph, but since it's still the one
we're using by default we'd better solve this issue.
2015-05-18 16:40:52 +05:00
Sergey Sharybin
8540907d60
Attempt to make drivers more safe for threading
...
There were some reported data race conditions in the python interpreter which
seems to be rather valid.
Surely this is not very pretty solution, but it might solve some annoying bugs
related on threading.
2015-05-18 16:40:52 +05:00
Sergey Sharybin
40091ff83a
Correction to early output in the parallel range implementation
...
The used heuristic of checking the value prior to lock is not totally safe
because assignment is not atomic and check might not give proper result.
2015-05-18 16:40:51 +05:00
Sergey Sharybin
b88597c218
Make switching to threaded malloc safe to be called from threads
...
For a long time this function was only intended to be used from the main thread,
but since out implementation of parallel range (which is currently only used by
mesh deform modifier) we might want to switch to threaded alloc from object
update thread.
Now we're using spinlock around the check, which makes the code safe to be used
from all over the place.
We might consider using a bit of atomics operations magic there, but it's not so
much important for now, this code is not used in the performance critical code
path.
2015-05-18 16:40:51 +05:00
Bastien Montagne
17388794ce
Filebrowser: Do not intent to draw empty strings, loss of time.
...
Fixes assert raised in `UI_text_clip_middle_ex()` when trying to draw (empty) 'size' string
for appended/linked blender datablocks.
2015-05-18 13:02:05 +02:00
Bastien Montagne
bf93316c52
Fix assert in outliner regarding WM and SCR ID types...
2015-05-18 12:53:31 +02:00
Campbell Barton
5dfe88adba
Fix T44553: Dyntopo ignores front-face option
...
When 'Front Faces' brush option was enabled, dyntop would still adjust detail on back-faces.
2015-05-18 18:22:31 +10:00
Campbell Barton
3dfce097e4
Cleanup: use const for Imbuf file types
2015-05-18 16:27:08 +10:00
Campbell Barton
924f31e54f
Fix T44543: painted texture lost after first save
...
Fix for T36639 caused all path changes to reload (which could loose user content).
Change behavior:
- Only reload data when a flag is explicitly passed
(currently only used by Find Files operator)
- Don't reload images which have been painted onto and not saved (dirty flag set).
2015-05-18 13:42:47 +10:00
Campbell Barton
662746fdd4
Fix multi-drag & multi-select, Alt press mid-drag
...
This would enable multi-value-editing in the middle of the drag action.
2015-05-18 11:52:59 +10:00
Sv. Lockal
88acb3c599
Fix T44707: cycles border render regression
2015-05-18 11:37:19 +10:00
Campbell Barton
29aae4db38
UI: errors in buttons now show in info report
...
Mistakes in button expressions were previously only printed to the console.
2015-05-18 10:02:29 +10:00
Martijn Berger
3ed009af96
Change behavior of cycles xml to conform the spec: "Each XML document has exactly one single root element"
2015-05-17 23:41:38 +02:00
Porteries Tristan
0b5bf9d419
BGE: Fix T42244 LibLoad crash with logic brick KX_TouchSensor
...
I remove duplicate and wrong code which treat the special case of KX_TouchSensor.
And Also the re-conversion of linked logic brick.
2015-05-17 22:19:09 +02:00
Julian Eisel
d1230ca723
Fix Node Editor using wrong snap element menu when called from shortcut
...
Kudos to @kopias for notifying me :)
2015-05-17 19:47:03 +02:00
Thomas Dinges
105b87a3f7
Cycles: Enable advanced shading on AMD / OpenCL.
...
That is needed for Motion Blur and Render Passes to work properly.
I hope there are no nasty side effects, but we need to test this.
2015-05-17 19:29:33 +02:00
Thomas Dinges
dae566894a
Cycles / OpenCL: Enable Camera Motion and Hair for AMD.
...
Only enabled for the Experimental kernel though, so the feature set must
be changed in the UI to use the features.
2015-05-17 18:46:25 +02:00
Thomas Dinges
14c2bc53c0
Cleanup: Typos, typos everywhere. :D
2015-05-17 18:32:31 +02:00
Brecht Van Lommel
4139686817
Fix T44713: GLSL and BI inconsistency converting color to float node socket.
2015-05-17 18:18:04 +02:00
Brecht Van Lommel
3cff7768d5
Fix T44718: Cycles GLSL not working for NURBS objects.
2015-05-17 17:25:57 +02:00
Brecht Van Lommel
43ee3f4040
Fix T44739: OS X RMB emulation giving wrong mouse button release event.
2015-05-17 16:55:18 +02:00
Brecht Van Lommel
48ed2b6309
UV editor: make Ctrl+E menu with mark/clear seam, instead of always marking.
2015-05-17 16:54:14 +02:00
Sergey Sharybin
a622cdaad8
Buildbot: Make sure files are readable by www group
2015-05-17 19:28:12 +05:00
Joshua Leung
2b9d806432
Fix T44084 - Cursor gets reset after MMB scrolling in another area while in GPencil Continous Draw Mode
2015-05-18 02:25:32 +12:00