Campbell Barton
d1c46c7b35
Fix out-of-bounds access in recent shader updates
2015-12-01 19:39:43 +11:00
Campbell Barton
e751ee5526
Fix minor order of init error w/ text draw
2015-12-01 19:00:55 +11:00
Campbell Barton
9e56c570c3
Cleanup: use more logical names for View3D.around
...
D1651 (own patch)
2015-12-01 18:53:26 +11:00
Kevin Mackay
2f80d304b0
Fix T39935: Duplicate looses active curve spline
2015-12-01 17:56:09 +11:00
Campbell Barton
260d2adcf1
minor error in recent text-draw commit
2015-12-01 17:56:06 +11:00
Campbell Barton
6783c673e6
UI: mono-space font user preference
2015-12-01 16:58:47 +11:00
Campbell Barton
0b1b774674
Python Console: store font id in a drawing context
2015-12-01 15:49:52 +11:00
Campbell Barton
4e46473c8e
Text Editor: store font id in a drawing context
2015-12-01 15:31:42 +11:00
Campbell Barton
520feda277
Cleanup: struct declarations
2015-12-01 13:31:26 +11:00
Bastien Montagne
1650b656c6
Cleanup: Collada: make gcc (partially) happy.
...
Still grumpy about using tmpnam... ;)
2015-12-01 01:09:38 +01:00
Bastien Montagne
b29ee36f6a
Fix T46900: Inset Faces Thickness & Depth Do Not Use Scene Units (i.e. Imperial).
...
Was the case of several Mesh operators actually (and probably others, but cannot check
everything). Added `RNA_def_property_float_distance` helper, avoids having to
set PROP_DISTANCE subtype explicitly each time...
2015-12-01 01:09:38 +01:00
Campbell Barton
09fdacdb39
Add shortcuts for copying data path from RNA
...
- Ctrl-Shift-C: copy-data-path
- Ctrl-Shift-Alt-C: copy-full-path
2015-12-01 10:31:10 +11:00
Campbell Barton
9307202807
RNA: de-duplciate rna-path create in tooltip code
2015-12-01 10:31:10 +11:00
Sergey Sharybin
b7978e984b
CMake: Add some missing license files in the install target
2015-11-30 21:33:57 +05:00
Bastien Montagne
f798c791cd
Libquery: fix double-handling of object pointer in scene's basact base.
...
Looping twice on same ID pointer may not be an issue in master currently, but with work done in id-remap
branch this should be avoided as much as possible, so for now assuming we do not need this here.
Note: if we really need this and have to add it back, then please at least use IDWALK_USER, and not
IDWALK_NOP flag!
2015-11-30 15:34:56 +01:00
Julian Eisel
ecbbb02c88
Fix T46628: Strips overlapping in VSE
...
Caused by rB27b2ab8cf4ae (although patch D1096 was correct).
2015-11-30 14:15:04 +01:00
Campbell Barton
c1f05c30f9
PyAPI: expose low level RNA to bpy.types
2015-11-30 11:03:49 +11:00
Brecht Van Lommel
5b90a6e188
Fix T38245: render slot getting lost when switching slots while compositing.
2015-11-30 00:54:45 +01:00
Campbell Barton
f448659a56
Fix T46896: Outliner group 'hide' doesn't update viewport render
2015-11-30 09:23:58 +11:00
Campbell Barton
3e499c1a31
Cleanup: sync edgehash w/ ghash remove logic
2015-11-29 17:51:12 +11:00
Campbell Barton
09c2bff32f
Cleanup: rename hash -> bucket_index, edgehash API
...
Was confusing since a hash isn't typically used as an index on its own.
Also C99 for loop for bucket resize loop.
2015-11-29 17:51:12 +11:00
Campbell Barton
472599402f
Cleanup: ghash/edgehash style
...
Call functions on own lines (nicer for debugging)
2015-11-29 17:51:12 +11:00
Julian Eisel
57628cb562
UI: More minor UI cleanups for keymap editor
...
Place non-editor related keymaps together, place animation editor keymaps together, move 'Header' keymap (which had exactly 1 entry) into 'Screen' keymap, move SCREEN_OT_header (for showing/hiding header) into 'Header' keymap.
Again, this shouldn't break any key configs, but key configs that contain SCREEN_OT_header will add an entry for this under 'Screen' again. Just a very minor glitch.
2015-11-28 18:24:21 +01:00
Sergey Sharybin
a3ddaa3d8c
Render pipeline: Remove dead code
...
Remained since some rather recent render speedup commits.
2015-11-28 22:08:49 +05:00
Julian Eisel
175110ec87
Cleanup: 'area' vs 'region'
...
Apparently this is the result of some sloppiness during 2.5 project and since then it confused people who were trying to understand the area-region relation (myself included).
Sorry if this causes merge conflicts for anyone, but at some point we really had to do it :/
2015-11-28 17:22:44 +01:00
Sergey Sharybin
51f996836c
C++ RNA: Pass structures by reference
...
C++ structures might be rather big and passing them by value is not really
optimal. There should be no functional changes apart from better memory
access pattern when synchronizing huge scenes to Cycles.
2015-11-28 21:20:30 +05:00
Brecht Van Lommel
c76fbf10e2
OpenGL: remove unnecessarily paranoid bound texture preservation.
2015-11-28 15:35:34 +01:00
Brecht Van Lommel
8e1c63b396
OpenGL: assume GL_TEXTURE_ENV_MODE GL_MODULATE is the default state.
2015-11-28 15:35:34 +01:00
Brecht Van Lommel
e1b8a5dc6f
OpenGL: set OpenGL lights through simple shader API.
2015-11-28 15:35:34 +01:00
Brecht Van Lommel
b5f9746dae
OpenGL: update simple shader API.
...
Restore fixed function lighting code for now and control use of GLSL shader
with a variable, make light types more clear, reduce state changes, some other
minor tweaks.
2015-11-28 15:35:34 +01:00
Brecht Van Lommel
263f4cd342
OpenGL: rename GPU_enable_material to better indicate it's binding shaders.
2015-11-28 15:35:34 +01:00
Ulysse Martin
34f51cd498
Fix a regression introduced by https://developer.blender.org/D1396 on video playing
...
Fix a regression introduced by https://developer.blender.org/D1396 on video playing
Look at @mariomey example file.
Reviewers: panzergame
Subscribers: mariomey
Projects: #game_engine
Differential Revision: https://developer.blender.org/D1623
2015-11-28 14:56:22 +01:00
Antony Riakiotakis
96cff85610
Fix possible hang on buffer allocation failure. Reported by coverity
...
scan, thanks...errr.
2015-11-28 09:33:48 +01:00
Campbell Barton
c5ac037c8e
BMesh: pass loops instead of edges/verts to filter funcs
...
This allows to check the source face we're walking over.
2015-11-28 13:40:18 +11:00
Campbell Barton
a12fa185f8
BMesh: use typed filter callbacks (const args too)
2015-11-28 13:37:02 +11:00
Brecht Van Lommel
bafccb00de
OpenGL: fix cycles texture draw mode not respecting double sided lighting.
2015-11-27 21:56:08 +01:00
Bastien Montagne
d3612cfca8
Fix T46883: VSE Meta Strip crash on leaving Meta editing (tab).
...
Own stupid copy/paste error in recent commit.
2015-11-27 21:38:03 +01:00
Bastien Montagne
da6578e647
Fix T46827: Appending Specific Groups Doesn't Work on Windows.
...
Issue was with datablocks which names would include '/', new filebrowser filelisting code
would cleanup the entire filepath, hence giving invalid filename in this case.
That 'path separator in ID names' bit us already in lib/datatype/datablock separating func,
this is really stupid to allow that in something handled as a filepath imho, but well...
Note: would have break the same under *nix with '\' char.
2015-11-27 21:18:06 +01:00
Bastien Montagne
bab8deef17
Fix (unreported) broken BLI_join_dirfile() in some cases on Windows.
...
That function was epic failing in case trying to join '//' and 'foo.blend', would
give '//\foo.blend'... Now check for both SEP and ALTSEP!
2015-11-27 21:18:06 +01:00
Gaia Clary
85362dfe80
fix T46868: added workaround for a collada issue with UTF8 filenames
2015-11-27 14:56:52 +01:00
Campbell Barton
a28e014313
BMesh: Add API call BM_face_calc_point_in_face
...
Was local to knife code, but this is generally useful.
2015-11-27 22:08:16 +11:00
Sergey Sharybin
bfaebeaee6
Fix T46799: Blender crashes when enumerating POCL devices
...
The issue was caused by a conflict between std::error_code linked into
Blender which is compiled without C++11 support and POCL's expectations
of std::error_code which was actually linked against C++11's STL.
2015-11-27 14:48:26 +05:00
Sergey Sharybin
254282c6cb
Fix crash when ding dyntopo sculpting
...
This is a regression introduced by 77ac33d and was caused by use-after-free
mistake.
2015-11-27 00:18:35 +05:00
Porteries Tristan
b3808a4e06
BGE: Fix ray cast with unfound property.
...
To return a valid ray cast result the object must not be NULL and KX_RayCast::RayTest must return true.
2015-11-26 19:54:27 +01:00
Bastien Montagne
d00a3316e7
Fix assert in UI align code in some specific situations.
...
Situations like [top_button over [label, button]] need some subtle handling, since
we only store one neighbor per side of a button...
2015-11-26 14:28:47 +01:00
Bastien Montagne
b061b5ae7a
Fix (unreported) libquery's IDLooper for constraints not handling correctly referenced ID pointers...
2015-11-26 12:16:50 +01:00
Campbell Barton
35cf545e3a
Fix recent c99 cleanup w/ openmp
2015-11-26 18:04:56 +11:00
Campbell Barton
e060c90ebc
Fix assert navigating into dir w/ .blend suffix
2015-11-26 15:39:29 +11:00
Campbell Barton
6483575b35
Fix error with intersect handling split-wire edges
2015-11-26 13:16:45 +11:00
Campbell Barton
cd8a84c869
Cleanup: warnings
2015-11-26 12:38:31 +11:00