minor edit to type checking macro to avoid clangs static checker tagging the var as possibly NULL.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51153 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: replace VECADDISFAC with math function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51155 954f8c5b-7b00-dc11-b283-0030488c597c
quiet invalid warning in ffmpeg_log_callback with -Wmissing-format-attribute.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51156 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Disable depth testing when drawing the overhead profile information in the Blenderplayer. This keeps the text from being blocked by geometry in the scene.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51157 954f8c5b-7b00-dc11-b283-0030488c597c
fix for crash in the sequencer if the video file fails to load (missing NULL check on imbuf),

all other uses of sequencer_imbuf_assign_spaces() check for NULL or assume IMB_allocImBuf() succeeds.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51158 954f8c5b-7b00-dc11-b283-0030488c597c
add option to build without blenders default avi codec.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51159 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Setting up the RAS_ICanvas interface as the primary way to alter the OpenGL
viewport. This helps to eliminate OpenGL calls in weird places like the physics
code and to reduce glGet calls, which are expensive.

There should be no functional changes (except maybe a very slight speed improvement).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51161 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#32799] right click select in filebrowser breaks opening folders
own regression since 2.63,

The path length for FILE_OT_select_bookmark was too short as well (256 --> FILE_MAXDIR).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51162 954f8c5b-7b00-dc11-b283-0030488c597c
Patch [#32639] Pose breakdown confirm by Return Key

Thanks Julien DUROURE (julien)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51163 954f8c5b-7b00-dc11-b283-0030488c597c
Display enum descriptions in tooltips for operators using a "type" or "mode"
property

Changes:
This commit adds a second line to the tooltips (below the generic operator
description) showing the appropriate description for each enum option. This
brings it more into line enum properties in Blender which also show this sort of
information.

Rationale:
Operators such as Snap and Mirror in the Action and Graph Editors use an enum to
control their behaviour (respectively, "how to snap" or "what to use as the
mirror line"). In the menus, these options are displayed using a submenu, but
hovering over each of these items for more information from a tooltip only shows
the (relatively unhelpful) generic operator tooltip/description.

Another area where these descriptions are useful is for Keying Sets, where it's
now possible to see the descriptions for what each Keying Set
does/affects/requires. Again, this is more helpful than just the generic
tooltip, which would be something like "Insert keyframes using a Keying Set".


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51164 954f8c5b-7b00-dc11-b283-0030488c597c
Fix memory leak and reduce code duplication from previous commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51165 954f8c5b-7b00-dc11-b283-0030488c597c
Bugfix: No enum tooltips displayed for many 3D view navigation tools (+ Code
cleanup)

* Enum tooltips will only be detected in the case that we assign that as the
default property (ot->prop) of the operator. Set all of the offending properties
to get this status, since those operators would be useless without that property
anyway

* Improved the wording/capitalisation of a few of these tooltips and labels



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51166 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup - silence some "uninitialised" warnings in BMesh code

There are still a lot more in bmo_bevel.c and bmo_extrude.c, but those don't
seem that easy to fix.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51167 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #32803: Incorrect sequencer color space for newly added scenes

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51168 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: reduce change the size of some float vectors that were bigger then they needed to be.

update to clang_array_check.py - parse function definitions lazily for some speedup.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51169 954f8c5b-7b00-dc11-b283-0030488c597c
Do not use nodeLabel() to generate new nodes' names, this is an UI func returning translated strings, which should never get into data. And it may generates dummy names in some situations (like all new Filter nodes were getting "Soften" as name (default option), better to always get "Filter" in this case!).

(Note for Lockal: also checked fcurves/drivers, but those names are directly taken from RNA prop name, hence they are as UI label, translated in the current language, but not stored in data. So no problem here ;) ).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51170 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: pep8


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51171 954f8c5b-7b00-dc11-b283-0030488c597c
Code cleanup - Convert if blocks to switch


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51172 954f8c5b-7b00-dc11-b283-0030488c597c
quiet msvc warning & allow zero arguments to add functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51173 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: pep8


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51174 954f8c5b-7b00-dc11-b283-0030488c597c