5 years agoFix T44132: Crash after open EXR format
Sergey Sharybin [Wed, 29 Apr 2015 18:44:57 +0000 (23:44 +0500)]
Fix T44132: Crash after open EXR format

Was own mistake on adding Alpha socket for Combined pass.

5 years agoOSX: fix T44533, system_bookmarks not showing utf standard ( umlauts etc. )
Jens Verwiebe [Wed, 29 Apr 2015 18:07:38 +0000 (20:07 +0200)]
OSX: fix T44533, system_bookmarks not showing utf standard ( umlauts etc. )

5 years agoFix typo using interp_v3_v3v3 over float[2] variables...
Bastien Montagne [Wed, 29 Apr 2015 17:38:19 +0000 (19:38 +0200)]
Fix typo using interp_v3_v3v3 over float[2] variables...

Found by asan! ;)

5 years agoMake sure integer calculation uses large precision
Antony Riakiotakis [Wed, 29 Apr 2015 16:49:38 +0000 (18:49 +0200)]
Make sure integer calculation uses large precision

5 years agoRemove unused stubs
Sergey Sharybin [Wed, 29 Apr 2015 16:47:30 +0000 (21:47 +0500)]
Remove unused stubs

Noticed by TristanPorteries in IRC.

5 years agoCleanup: make grumpy asan happy and do not use `new []` to allocate data freed by...
Bastien Montagne [Wed, 29 Apr 2015 15:46:03 +0000 (17:46 +0200)]
Cleanup: make grumpy asan happy and do not use `new []` to allocate data freed by `free()`.

Probably nothing crucial, but asan build would crash on that stupid glitch... Annoying.

5 years agofix for double call to update callback in uiTemplateIconView
Ines Almeida [Wed, 29 Apr 2015 15:25:54 +0000 (16:25 +0100)]
fix for double call to update callback in uiTemplateIconView

5 years agocleanup for uiTemplateIconView
Ines Almeida [Wed, 29 Apr 2015 15:22:04 +0000 (16:22 +0100)]
cleanup for uiTemplateIconView

5 years agoFix T44542: 'extend selection' editmode tool would select hidden elements.
Bastien Montagne [Wed, 29 Apr 2015 15:14:40 +0000 (17:14 +0200)]
Fix T44542: 'extend selection' editmode tool would select hidden elements.

5 years agoMulti-View cleanup: using RenderResult->rect* only for temporary RenderResults
Dalai Felinto [Wed, 29 Apr 2015 14:26:30 +0000 (11:26 -0300)]
Multi-View cleanup: using RenderResult->rect* only for temporary RenderResults

Originally I wanted to get rid of RenderResult->rect* entirely, but it's
convenient to have for temporary structs.

This patch makes sure they are used only when really needed, which
should help clearing the code out.

(they are needed when using RE_AcquireResultImage() - which produces a
RenderResult with no RenderView)

Reviewers: sergey

Differential Revision:

5 years agoDon't check against scene notifier twice
Antony Riakiotakis [Wed, 29 Apr 2015 14:28:20 +0000 (16:28 +0200)]
Don't check against scene notifier twice

5 years agoMulti-View: new util functions RE_RenderViewGetById() and RE_RenderViewGetByName()
Dalai Felinto [Wed, 29 Apr 2015 14:18:18 +0000 (11:18 -0300)]
Multi-View: new util functions RE_RenderViewGetById() and RE_RenderViewGetByName()

Both functions try to find a valid RenderView and if they can't they
fallback to the first RenderView of the RenderResult

5 years agoAdd macro BLI_SMALLSTACK_AS_TABLE
Campbell Barton [Wed, 29 Apr 2015 13:54:32 +0000 (23:54 +1000)]

Use for edge-split (a little less overhead compare to popping each item).

5 years agoCycles: Fix crashes when loading cache created with pre-leaf split builds
Sergey Sharybin [Wed, 29 Apr 2015 10:48:49 +0000 (15:48 +0500)]
Cycles: Fix crashes when loading cache created with pre-leaf split builds

5 years agoFix T44544: Cached BVH is broken since BVH leaf split
Sergey Sharybin [Wed, 29 Apr 2015 10:29:42 +0000 (15:29 +0500)]
Fix T44544: Cached BVH is broken since BVH leaf split

Still need to solve issues with reading old cache with new builds.

5 years agoUse size_t to calculate size of tiles for rendering
Antony Riakiotakis [Wed, 29 Apr 2015 10:30:25 +0000 (12:30 +0200)]
Use size_t to calculate size of tiles for rendering

5 years agoCorrect comment
Campbell Barton [Wed, 29 Apr 2015 10:16:40 +0000 (20:16 +1000)]
Correct comment

5 years agoBuildbot: Attempt to fix cudakernels target screwing up autotest cache
Sergey Sharybin [Wed, 29 Apr 2015 09:51:50 +0000 (14:51 +0500)]
Buildbot: Attempt to fix cudakernels target screwing up autotest cache

5 years agoBMesh: optimize edge split
Campbell Barton [Wed, 29 Apr 2015 02:48:06 +0000 (12:48 +1000)]
BMesh: optimize edge split

Avoid hashing edges when splitting into fans,
Instead, walk & split fans until they're all done, gives approx 40% speedup.

5 years agoBMesh: replace smallhash flag for checking doubles
Campbell Barton [Wed, 29 Apr 2015 02:25:20 +0000 (12:25 +1000)]
BMesh: replace smallhash flag for checking doubles

5 years agoBMesh: avoid over-counting vert-edges
Campbell Barton [Wed, 29 Apr 2015 00:25:59 +0000 (10:25 +1000)]
BMesh: avoid over-counting vert-edges

5 years agoCleanup: headers
Campbell Barton [Wed, 29 Apr 2015 09:39:58 +0000 (19:39 +1000)]
Cleanup: headers

5 years agoSCons: Ignore .svn folder when installing site-packages
Sergey Sharybin [Wed, 29 Apr 2015 09:29:42 +0000 (14:29 +0500)]
SCons: Ignore .svn folder when installing site-packages

5 years agoRevert commit with perspective depth offset, makes simple cases such as
Antony Riakiotakis [Wed, 29 Apr 2015 09:19:23 +0000 (11:19 +0200)]
Revert commit with perspective depth offset, makes simple cases such as
loopcuts on cube have zfighting.

5 years agoSCons: Fix wrong flags usage after recent stdc89 changes
Sergey Sharybin [Wed, 29 Apr 2015 08:57:02 +0000 (13:57 +0500)]
SCons: Fix wrong flags usage after recent stdc89 changes

CCFLAGS are used for both C and C++ compilers and one is better not to pass
C-related flags to C++ compiler. C-compiler flags are to be passed via CFLAGS

5 years agoBuildbot: Fix typo in error message
Sergey Sharybin [Wed, 29 Apr 2015 08:47:47 +0000 (13:47 +0500)]
Buildbot: Fix typo in error message

5 years agoRenderResult should have a valid view whenever possible
Dalai Felinto [Tue, 28 Apr 2015 20:36:44 +0000 (17:36 -0300)]
RenderResult should have a valid view whenever possible

5 years agoRewind fix for T44505 (leave in ifdef'd)
Campbell Barton [Tue, 28 Apr 2015 20:08:45 +0000 (06:08 +1000)]
Rewind fix for T44505 (leave in ifdef'd)

This makes selection fail in simple cases,
default cube subdiv 10x for eg.

5 years agoError in last commit
Campbell Barton [Tue, 28 Apr 2015 19:36:39 +0000 (05:36 +1000)]
Error in last commit

5 years agoStore bit-depth for reuse, replace loop with shift
Campbell Barton [Tue, 28 Apr 2015 19:30:30 +0000 (05:30 +1000)]
Store bit-depth for reuse, replace loop with shift

5 years agoCompilation error fixes for strict compiler flags
Sergey Sharybin [Tue, 28 Apr 2015 19:23:52 +0000 (00:23 +0500)]
Compilation error fixes for strict compiler flags

5 years agoFix ortho part of T44505
Antony Riakiotakis [Tue, 28 Apr 2015 18:41:37 +0000 (20:41 +0200)]
Fix ortho part of T44505

In this case we can calculate an offset without worrying about
perspective correction. Unfortunately if looking from a camera we still
have depth issues here. There's no really general case that can fix this
so I'm leaving this as is.

5 years agoFix T44404: freestyle crashes blender.
Tamito Kajiyama [Tue, 28 Apr 2015 14:18:32 +0000 (23:18 +0900)]
Fix T44404: freestyle crashes blender.

The reported crash case seems to be caused by freeing compiled Python
objects in a thread.  Now this issue is avoided by allocating a buffer to
store a Python script and using BPY_string_exec() to run the script.  This
makes it unnecessary to repeatedly create and destroy Text data blocks.

Many thanks to Campbell Barton for his help on the bug fix.

5 years agodisable ARRAY_SIZE fixed length check for Clang
Campbell Barton [Tue, 28 Apr 2015 15:36:14 +0000 (01:36 +1000)]
disable ARRAY_SIZE fixed length check for Clang

5 years agoAlleviate somewhat the issue of T44505
Antony Riakiotakis [Tue, 28 Apr 2015 15:18:32 +0000 (17:18 +0200)]
Alleviate somewhat the issue of T44505

Issue is zfighting with wire of mesh when parts of the mesh are close
together. We can make this slightly better by reducing the offset,
however this offset is calculated pre-perspective division and can vary
greatly with distance. Correct approach would be using polygon offset,
however we draw mesh wireframes as lines, (not polygons with polygon
mode line) so this approach will not work.
Alternatively, we could set an offset in a shader, however we don't have
code for that either.

5 years agoCurves: don't use 'charidx' for regular curves
Campbell Barton [Tue, 28 Apr 2015 14:19:34 +0000 (00:19 +1000)]
Curves: don't use 'charidx' for regular curves

Code attempted to sync them with materials,
but its not needed (and wasn't reliable).

5 years agoFix T44522: loop remapping between meshes when using 'nearest vert, best matching...
Bastien Montagne [Tue, 28 Apr 2015 13:57:11 +0000 (15:57 +0200)]
Fix T44522: loop remapping between meshes when using 'nearest vert, best matching normal' modes
would fail on coplanar faces (or smooth verts).

Loop remapping is really a tricky topic... For now, we enhance a bit more
our Frankenfunc by using distance between dest and source polygons as
fallback in case we have too much similar normals...

Probably not a perfect solution, but should be robust enough I hope.

One core question remains open though: do we want to stick to 'use only seams
to detect UV islands'? This makes things much simpler, but will obviously fail
in case of actual islands without matching seams. :/

5 years agoMinor cleanup in comments.
Bastien Montagne [Tue, 28 Apr 2015 12:15:27 +0000 (14:15 +0200)]
Minor cleanup in comments.

5 years agoFix T44516 grid lines obscuring selection outline.
Antony Riakiotakis [Tue, 28 Apr 2015 13:41:44 +0000 (15:41 +0200)]
Fix T44516 grid lines obscuring selection outline.

Was changed to draw after meshes without depth mask to make grid not
contribute to compositing effects. Now only draw it like this when we do
compositing (unfortunately can't have both).

5 years agoProject Paint: Add symmetry support
Campbell Barton [Tue, 28 Apr 2015 13:34:40 +0000 (23:34 +1000)]
Project Paint: Add symmetry support

- Access from symmetry panel (as with sculpt)
- Supports multiple axis at once.
- Supports all brush types including clone.

5 years agoCleanup: const correctness
Campbell Barton [Tue, 28 Apr 2015 11:17:48 +0000 (21:17 +1000)]
Cleanup: const correctness

5 years agoBLI_utildefines: add MEMSET_STRUCT_OFS macro
Campbell Barton [Tue, 28 Apr 2015 11:14:46 +0000 (21:14 +1000)]
BLI_utildefines: add MEMSET_STRUCT_OFS macro

5 years agoCleanup: Move Cycles volume stack update for subsurface into kernel_volume.h.
Thomas Dinges [Tue, 28 Apr 2015 09:11:39 +0000 (11:11 +0200)]
Cleanup: Move Cycles volume stack update for subsurface into kernel_volume.h.

5 years agoFix T44530 UV islands fail on subsurf after mirror modifier.
Antony Riakiotakis [Tue, 28 Apr 2015 09:12:47 +0000 (11:12 +0200)]
Fix T44530 UV islands fail on subsurf after mirror modifier.

Caused by own commit that changed island detection code. In the case of
modifiers we don't want to take winding information into account, but
left the code since there are use cases (like painting) which could use

5 years agoUse gnu89 for GCC
Campbell Barton [Tue, 28 Apr 2015 08:37:28 +0000 (18:37 +1000)]
Use gnu89 for GCC

GCC5 defaults to gnu11, which we may switch to later
but disable for now to prevent accidental use.

5 years agoFix for Clang type check
Campbell Barton [Tue, 28 Apr 2015 08:48:41 +0000 (18:48 +1000)]
Fix for Clang type check

5 years agoAdded missing update tag to recalculate data after permutating materials
Gaia Clary [Tue, 28 Apr 2015 08:52:19 +0000 (10:52 +0200)]
Added missing update tag to recalculate data after permutating materials

5 years agoCleanup: redundant checks
Campbell Barton [Tue, 28 Apr 2015 06:47:31 +0000 (16:47 +1000)]
Cleanup: redundant checks

5 years agoAdd material slot reorder buttons
Gaia Clary [Mon, 27 Apr 2015 21:24:56 +0000 (07:24 +1000)]
Add material slot reorder buttons

5 years agoCycles: Initialize portal variable directly, so we can avoid the one NULL check.
Thomas Dinges [Mon, 27 Apr 2015 21:12:53 +0000 (23:12 +0200)]
Cycles: Initialize portal variable directly, so we can avoid the one NULL check.

5 years agoMath Lib: add range_vn_u
Campbell Barton [Mon, 27 Apr 2015 20:54:17 +0000 (06:54 +1000)]
Math Lib: add range_vn_u

5 years agoCycles: Added support for light portals
Lukas Stockner [Mon, 27 Apr 2015 19:51:55 +0000 (00:51 +0500)]
Cycles: Added support for light portals

This patch adds support for light portals: objects that help sampling the
environment light, therefore improving convergence. Using them tor other
lights in a unidirectional pathtracer is virtually useless.

The sampling is done with the area-preserving code already used for area lamps.
MIS is used both for combination of different portals and for combining portal-
and envmap-sampling.

The direction of portals is considered, they aren't used if the sampling point
is behind them.

Reviewers: sergey, dingto, #cycles

Reviewed By: dingto, #cycles

Subscribers: Lapineige, nutel, jtheninja, dsisco11, januz, vitorbalbio, candreacchio, TARDISMaker, lichtwerk, ace_dragon, marcog, mib2berlin, Tunge, lopataasdf, lordodin, sergey, dingto

Differential Revision:

5 years agoCleanup: use strict flags
Campbell Barton [Mon, 27 Apr 2015 18:30:07 +0000 (04:30 +1000)]
Cleanup: use strict flags

5 years agoCycles: Use native saturate function for CUDA
Sergey Sharybin [Mon, 27 Apr 2015 19:13:03 +0000 (00:13 +0500)]
Cycles: Use native saturate function for CUDA

This more a workaround for CUDA optimizer which can't optimize clamp(x, 0, 1)
into a single instruction and uses 4 instructions instead.

Original patch by @lockal with own modification:

  Don't make changes outside of the kernel. They don't make any difference
  anyway and term saturate() has a bit different meaning outside of kernel.

This gives around 2% of speedup in Barcelona file, but in more complex shader
setups with lots of math nodes with clamping speedup could be much nicer.

Subscribers: dingto

Projects: #cycles

Differential Revision:

5 years agoBLI_array: add permute utility function
Campbell Barton [Mon, 27 Apr 2015 18:10:31 +0000 (04:10 +1000)]
BLI_array: add permute utility function

5 years agoUsual UI messages fixes...
Bastien Montagne [Mon, 27 Apr 2015 18:10:32 +0000 (20:10 +0200)]
Usual UI messages fixes...

5 years agoFix double-free on copied Text compiled py-code
Campbell Barton [Mon, 27 Apr 2015 14:10:34 +0000 (00:10 +1000)]
Fix double-free on copied Text compiled py-code

5 years agoFix T44464: Viewport mipmaps no longer toggle off
Campbell Barton [Mon, 27 Apr 2015 15:14:48 +0000 (01:14 +1000)]
Fix T44464: Viewport mipmaps no longer toggle off

5 years agoCleanup: use bool for mipmap args
Campbell Barton [Mon, 27 Apr 2015 15:03:28 +0000 (01:03 +1000)]
Cleanup: use bool for mipmap args

5 years agoCleanup: use mul_v3_mat3_m4v3
Campbell Barton [Mon, 27 Apr 2015 13:23:04 +0000 (23:23 +1000)]
Cleanup: use mul_v3_mat3_m4v3

5 years agoMulti-View: Code cleanup
Dalai Felinto [Mon, 27 Apr 2015 15:09:04 +0000 (12:09 -0300)]
Multi-View: Code cleanup

I finally put the time into understanding what was going on here.
Basically RE_AcquireResultImage() produces RenderResults without
RenderViews. That will be fine for now since I'm planning to refactor
RenderResult soon.

5 years agoMuti-View: viewport crashes when empty is active camera - reported over IRC by Campbe...
Dalai Felinto [Mon, 27 Apr 2015 13:39:09 +0000 (10:39 -0300)]
Muti-View: viewport crashes when empty is active camera - reported over IRC by Campbell Barton

5 years agoFix T44514 Crash under cycles rendering using F12, based on patch from Gaia Clary
Dalai Felinto [Mon, 27 Apr 2015 13:33:18 +0000 (10:33 -0300)]
Fix T44514 Crash under cycles rendering using F12, based on patch from Gaia Clary

5 years agoFix T44512: Cycles fails normal bake /w scale flip
Campbell Barton [Mon, 27 Apr 2015 12:43:01 +0000 (22:43 +1000)]
Fix T44512: Cycles fails normal bake /w scale flip

5 years agoMath Lib: add mul_v3_mat3_m4v3
Campbell Barton [Mon, 27 Apr 2015 11:50:38 +0000 (21:50 +1000)]
Math Lib: add mul_v3_mat3_m4v3

5 years agoFix T44011: Ruler/Knife/Loop-cut fail in quad-view
Campbell Barton [Mon, 27 Apr 2015 08:53:45 +0000 (18:53 +1000)]
Fix T44011: Ruler/Knife/Loop-cut fail in quad-view

This is a kind of sloppy-focus,
resolving long standing bug with loop-cut/knife/ruler /w quad-view.

Where activating a tool would lock onto one of quad-views,
especially problematic when activating from the toolbar or menus.

5 years agoPy API: expose operator runtime flags
Campbell Barton [Mon, 27 Apr 2015 08:45:48 +0000 (18:45 +1000)]
Py API: expose operator runtime flags

eg from operator invoke/execute:

5 years agoCleanup: rename GRAB_POINTER -> GRAB_CURSOR
Campbell Barton [Mon, 27 Apr 2015 08:44:27 +0000 (18:44 +1000)]

Term pointer is overloaded already.

5 years agoSculpt: symmetrize was leaving edge-tags dirty
Campbell Barton [Sun, 26 Apr 2015 17:35:16 +0000 (03:35 +1000)]
Sculpt: symmetrize was leaving edge-tags dirty

This is used for the edge-queue

5 years agoCorrect own error in recent sculpt changes
Campbell Barton [Sun, 26 Apr 2015 17:34:13 +0000 (03:34 +1000)]
Correct own error in recent sculpt changes

mixed up squared nonsquared length, also remove invalid verify check.

5 years agoUI: 'View Online Manual' Shortcut
Julian Eisel [Sun, 26 Apr 2015 15:17:51 +0000 (01:17 +1000)]
UI: 'View Online Manual' Shortcut

D1031, implement proposal T37478 to give easy access to the online manual.

Use Alt+F1 while hovering over a button/setting.

5 years agoBGE : addObject in python without reference object.
Porteries Tristan [Sun, 26 Apr 2015 14:29:43 +0000 (16:29 +0200)]
BGE : addObject in python without reference object.

Making the reference argument optional for the addObject function.

This allows to keep the rotation, scale and position of the original object.
To avoid layer problems with lights if the reference arguments is None, the new object have the same layer than the active layers in scene.

Reviewers: lordloki, moguri, hg1, sybren

Reviewed By: hg1, sybren

Subscribers: agoose77

Projects: #game_engine

Differential Revision:

5 years agoBMesh: increase subdiv smooth strength
Campbell Barton [Sun, 26 Apr 2015 11:20:25 +0000 (21:20 +1000)]
BMesh: increase subdiv smooth strength

Now 1.0 gives near spherical output

5 years agoCleanup: bmesh subdivide
Campbell Barton [Sun, 26 Apr 2015 10:32:08 +0000 (20:32 +1000)]
Cleanup: bmesh subdivide

var names were a bit cryptic, set return arg last.

5 years agoBMesh: subdiv smooth, use simpler even calculation
Campbell Barton [Sun, 26 Apr 2015 09:19:05 +0000 (19:19 +1000)]
BMesh: subdiv smooth, use simpler even calculation

Was checking all vertices adjacent faces,
now just compare the difference between normal angles.

Also default to inverse-square for loopcut-subdiv falloff.

5 years agoCleanup: subdivide smooth vertex placement
Campbell Barton [Sun, 26 Apr 2015 09:12:20 +0000 (19:12 +1000)]
Cleanup: subdivide smooth vertex placement

5 years agoBMesh: use inverse-square falloff /w smooth-subdiv
Campbell Barton [Sun, 26 Apr 2015 08:35:42 +0000 (18:35 +1000)]
BMesh: use inverse-square falloff /w smooth-subdiv

Resolves ugly artifacts with multi-cut.

5 years agoAdd inverse-square falloff to bmesh, mask & compo.
Campbell Barton [Sun, 26 Apr 2015 08:31:54 +0000 (18:31 +1000)]
Add inverse-square falloff to bmesh, mask & compo.

5 years agoBMesh: use const for API calls
Campbell Barton [Sun, 26 Apr 2015 07:19:23 +0000 (17:19 +1000)]
BMesh: use const for API calls

5 years agoBMesh: BM_ELEM_CD_GET_VOID_P cast removed const
Campbell Barton [Sun, 26 Apr 2015 07:15:34 +0000 (17:15 +1000)]
BMesh: BM_ELEM_CD_GET_VOID_P cast removed const

5 years agoMacro GENERIC_TYPE_ANY map many types to one value
Campbell Barton [Sun, 26 Apr 2015 07:14:15 +0000 (17:14 +1000)]
Macro GENERIC_TYPE_ANY map many types to one value

5 years agoCleanup: Code style.
Thomas Dinges [Sat, 25 Apr 2015 22:42:26 +0000 (00:42 +0200)]
Cleanup: Code style.

5 years agoCleanup: Update Lookup table comments.
Thomas Dinges [Sat, 25 Apr 2015 22:06:38 +0000 (00:06 +0200)]
Cleanup: Update Lookup table comments.

5 years agoCycles: Add Mirror ball mapping to camera panorama options
Lukas Stockner [Sat, 25 Apr 2015 21:49:17 +0000 (23:49 +0200)]
Cycles: Add Mirror ball mapping to camera panorama options

The projection code was already in place, so this just exposes the option.

Differential Revision:

5 years agocorrect own error in recent ngon creation edit
Campbell Barton [Sat, 25 Apr 2015 11:14:55 +0000 (21:14 +1000)]
correct own error in recent ngon creation edit

5 years agoFix neg-scaled project-paint in perspective mode
Campbell Barton [Sat, 25 Apr 2015 10:47:19 +0000 (20:47 +1000)]
Fix neg-scaled project-paint in perspective mode

5 years agoCleanup: use 8 space indent for multi-line args
Campbell Barton [Sat, 25 Apr 2015 10:15:20 +0000 (20:15 +1000)]
Cleanup: use 8 space indent for multi-line args

5 years agoBMesh: simplify BM_face_create_ngon
Campbell Barton [Sat, 25 Apr 2015 07:20:59 +0000 (17:20 +1000)]
BMesh: simplify BM_face_create_ngon

Was doing quite a lot of unnecessary steps.
Now construct the sorted verts, edges /w error checking, in a single loop.

5 years agoUI: Panel drag-collapse
Julian Eisel [Sat, 25 Apr 2015 02:56:24 +0000 (12:56 +1000)]
UI: Panel drag-collapse

D1233, Adds a way to quickly open/close multiple panels by holding LMB and dragging over the desired panels,
Suggested by @maxon

The decision if the panels are opened or closed is made based on the first Panel the user drags over.
If it is closed, all panels he drags over are opened
(including the first one) if it's opened, they get closed (matching existing drag-toggle logic).

5 years agoProject Paint: save 8 bytes per pixel (re-align)
Campbell Barton [Sat, 25 Apr 2015 02:52:51 +0000 (12:52 +1000)]
Project Paint: save 8 bytes per pixel (re-align)

5 years agoCleanup
Campbell Barton [Sat, 25 Apr 2015 02:29:52 +0000 (12:29 +1000)]

5 years agoFix T42495: Fullscreen area icon glitch
Julian Eisel [Fri, 24 Apr 2015 23:29:53 +0000 (01:29 +0200)]
Fix T42495: Fullscreen area icon glitch

Tried a couple of things to trigger an update/redraw for the exact right
moment (sending azone update event, timer, delayed redraw, etc) but this
seems to work rock solid without being *that* ugly.

5 years agoFix T44405: Importing keyconfig with changed shortcut in "Screen Global"
Julian Eisel [Fri, 24 Apr 2015 18:08:52 +0000 (20:08 +0200)]
Fix T44405: Importing keyconfig with changed shortcut in "Screen Global"
causes rapid fullscreen toggeling

5 years agoMulti-View: Set Stereo 3D operator support for EXEC calls
Dalai Felinto [Fri, 24 Apr 2015 16:06:04 +0000 (13:06 -0300)]
Multi-View: Set Stereo 3D operator support for EXEC calls

5 years agoMulti-View: rolls back to a non quadbuffer friendly window if displaymode changes...
Dalai Felinto [Fri, 24 Apr 2015 15:51:20 +0000 (12:51 -0300)]
Multi-View: rolls back to a non quadbuffer friendly window if displaymode changes from pageflip to something else

In some cases the graphic card supports quadbuffer, but not the display.
In this case it is nice to go back to a window that does not have
quadbuffer if you change back to anaglyph, interlace, ...

Otherwise you may be stuck with a flickering window

5 years agoMulti-View: Time Sequencial (aka pageflip, aka quadbuffer) stereo support
Dalai Felinto [Fri, 24 Apr 2015 14:58:03 +0000 (11:58 -0300)]
Multi-View: Time Sequencial (aka pageflip, aka quadbuffer) stereo support

TODO: I would be nicer if we could set win at file opening to the
current open window, but I'll implement this later.

5 years agocorrecting typos in python api docs
Ines Almeida [Fri, 24 Apr 2015 13:08:31 +0000 (14:08 +0100)]
correcting typos in python api docs

5 years agoAdd debug option --debug-gpumem to show GPU memory used in status bar.
Antony Riakiotakis [Fri, 24 Apr 2015 12:11:05 +0000 (14:11 +0200)]
Add debug option --debug-gpumem to show GPU memory used in status bar.

Only used in ATIs and NVIDIAs. Used extensions are:

If you read the documentation, the numbers are not supposed to be exact
and also depend on the time when the call is made. The numbers can also
change quite quickly. It's only meant to give a rough measure of what is
going on.

5 years agoFix T44492: knife tool should cut across a split edge.
Howard Trickey [Fri, 24 Apr 2015 11:27:47 +0000 (07:27 -0400)]
Fix T44492: knife tool should cut across a split edge.

Added filter condition in visibility check that prevented
a "butting-up-against" face from obscuring an edge.

5 years agoBGE : fix bugs with physics collision mask/group
Porteries Tristan [Fri, 24 Apr 2015 09:56:58 +0000 (11:56 +0200)]
BGE : fix bugs with physics collision mask/group

Currently there are bugs with physics objects in inactive layers,
character and softbody.
I added a function in CcdPhysicsEnvironement to know if a physics
controller is currently active and for soft body I added the correct function in UpdateCcdPhysicsController to re-add a softbody in the dynamics world.

The bug was introduced in D1243 commit 3d55859

Reviewers: hg1, scorpion81, lordloki, moguri, agoose77, sergof

Reviewed By: sergof

Subscribers: youle, moguri

Differential Revision: