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
Joshua Leung
206f29c12c
Fix T44685 - In grease pencil stroke editing, selecting points is offset by a few pixels
...
The problem was that it was aborting too early after stumbling across a point which
might fit within the bounds required. This commit improves the logic here to solve
this and a few other little bugs like that.
Disclaimer: There are still a few cases where it randomly ends up picking something
way off. However, this only seems to occur very sporadically, so it's hard to say
how bad the problem may be.
2015-05-18 02:03:39 +12:00
Campbell Barton
30b45d5591
BMesh: don't check winding for uv-vert-map
...
Made link-select separate front/back with projected UV's
2015-05-17 23:06:41 +10:00
Brecht Van Lommel
b68fa820d6
Fix T44715: crash compositing with undefined node due to re-save in older version
2015-05-17 13:44:22 +02:00
Porteries Tristan
3b359f1fea
BGE: Fix T43761 No re-creation of display list after a mesh modification.
...
I also removed unused flags in RAS_ListRasterizer.cpp.
2015-05-17 12:53:57 +02:00
Bastien Montagne
4d45f47920
Fix T44737: Missing 'Spin' op entry in surface (NURBS) tools/menu.
2015-05-17 12:45:07 +02:00
Thomas Dinges
effb912061
Cycles Standalone: Expose various light settings.
2015-05-17 12:36:42 +02:00
Joshua Leung
dad2850cc5
Numeric Input for Pose Breakdowner/Slide/Push Tools
2015-05-17 22:28:25 +12:00
Thomas Dinges
347843f6fe
Cycles Standalone: Update help screen.
2015-05-17 12:10:30 +02:00
Campbell Barton
f51fef63aa
Fix own error deleting previews
2015-05-17 17:26:01 +10:00
Campbell Barton
847ec075eb
Cleanup: pep8
2015-05-17 17:26:01 +10:00
Campbell Barton
02cbc3c1e0
Cleanup: indentation
2015-05-17 17:25:57 +10:00
Campbell Barton
daeb3069cf
Cleanup: typos
2015-05-17 16:09:32 +10:00
Campbell Barton
6ba128129d
CMake: correct file listing
2015-05-17 16:09:15 +10:00
Campbell Barton
60f60ed496
CMake: fixes for own checking script
...
don't error if generated files are missing.
2015-05-17 16:05:38 +10:00
Antony Riakiotakis
6c15f3044b
Yet another attempt to fix Intel case for T43987
2015-05-16 23:09:11 +02:00
Tamito Kajiyama
dcacc54e07
Freestyle: Fix for stroke rendering performed with multi-views enabled.
...
Per-view Freestyle stroke rendering needs to be done without multi-views.
2015-05-16 23:59:14 +09:00
Tamito Kajiyama
4c0f0eb338
Fix T44691 Freestyle render crashes when Views is on (Blender Internal).
...
In pipeline.c the function add_freestyle() was supposed to be called once
per frame, but after the Multi-view merge the function are called as many
as the number of views. There were however a few Freestyle parameters
that have to be initialized per frame, and initializing one of the
parameters for each view was causing double freeing of allocated memory
which was enough to result in a crash.
2015-05-16 23:59:11 +09:00
Ines Almeida
a49534ae48
setting some RNA defaults for nodes
2015-05-16 13:04:40 +01:00
Campbell Barton
dddb4f655c
BMesh: link-select-pick now supports redo
...
Without this you can't change delimiter options without editing the keymap.
2015-05-16 20:53:35 +10:00
Campbell Barton
3aa4a0e787
BMesh: add UV delimit for select-linked, dissolve
2015-05-16 12:21:31 +10:00
Campbell Barton
05c4c2409e
BMesh: add sharp edge delimiter
2015-05-16 10:18:38 +10:00
Campbell Barton
5cc55486ee
BMesh: select linked, support other delimiters
...
Use same options as limited dissolve (adds material & winding)
2015-05-16 10:17:46 +10:00
Campbell Barton
1bb3d0d485
Select linked seam limit, now works for picking
...
Second half of fix for also T42510
2015-05-16 09:35:35 +10:00
Campbell Barton
eeadd19eb5
Cleanup: use define for playback frame limiter
2015-05-16 08:35:25 +10:00
Campbell Barton
80c0097210
Only initialize icons in background mode.
...
Also enable this for headless builds too.
Calling UI_icons_init would initialize matcaps, brushes etc...
2015-05-16 06:21:26 +10:00
Bastien Montagne
b931afe55e
Fix new 'custom previews/icons' py feature crashing in background mode.
...
We want this even without UI, some scripts may use it in a background processing
mode to avoid too heavy process in actual 'user' blender...
2015-05-15 20:12:25 +02:00
Bastien Montagne
08f30ef31c
Fix T44724: missing menu entries for 'view fit' (F) in clip/image editors.
2015-05-15 19:49:00 +02:00