Campbell Barton [Mon, 12 Oct 2015 21:43:41 +0000 (08:43 +1100)]
Fix T46458: BGE Crash on load
regression from
96dd213e7
Bastien Montagne [Mon, 12 Oct 2015 19:34:14 +0000 (21:34 +0200)]
Usual UI message fixes...
Bastien Montagne [Mon, 12 Oct 2015 18:12:55 +0000 (20:12 +0200)]
Add functions to compute normals (verts, polys and loops ones) for a given shapekey.
Title says pretty much everything, we now have BKE and RNA funcs to get vertex, poly and
loop normals of a given shapekey.
This will be used e.g. in FBX exporter (shapekeys need normal data too).
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D1510
Brecht Van Lommel [Mon, 12 Oct 2015 14:44:07 +0000 (16:44 +0200)]
Fix T46451: edge slide even and flipped not available in redo popup.
Bastien Montagne [Mon, 12 Oct 2015 13:20:51 +0000 (15:20 +0200)]
WM linking code rework.
New code loops much less, does re-open & close .blend files for each data type,
and is much much more flexible - it is also ready for id-remap & co work being done in branches.
Main idea is to store libraries & datablocks to link in a dedicated struct, in a way
that avoids too much looping, and also allows to search for a single datablock in several libraries.
Here again, no change is expected in current behavior of link/append tool, please report
if anything goes different!
Bastien Montagne [Mon, 12 Oct 2015 13:07:07 +0000 (15:07 +0200)]
Cleanup & rework of BLO_linking code.
This commits does mostly two things:
* Get rid of bContext parameter: I can see no real good reason to pass such a high-level data
to such low-level code... It also makes it more difficult to call when you do not have
a context available.
* Cleanup the instantiating part.
Last point is the most risky - previous code was sometimes quite confusing and hard to follow,
from tests nothing behaves differently in new code, but some hidden corner case may show up.
Anyway, no change in behavior is expected from this commit, if it happens please file a bugreport!
Bastien Montagne [Mon, 12 Oct 2015 12:31:47 +0000 (14:31 +0200)]
Cleanup: BLO: use proper typedef for expand_doit callback.
Bastien Montagne [Mon, 12 Oct 2015 12:21:34 +0000 (14:21 +0200)]
Cleanup: BLO: move func doc comments to definitions of functions.
Follows our conventions and makes include file itself much cleaner.
Bastien Montagne [Mon, 12 Oct 2015 11:46:58 +0000 (13:46 +0200)]
Cleanup in BLO API: rename 'append' funcs to 'link', since none do append, but only linking of datablocks!
Campbell Barton [Mon, 12 Oct 2015 10:58:57 +0000 (21:58 +1100)]
Workaround for glew initialization bug
It turns out libGL from Intel crashes when calling glxewInit (where mesa, nvidia work fine),
unfortunately the only option without making larger changes to glew,
is to inline the parts of glew we're using - before the glx context is created.
Bastien Montagne [Mon, 12 Oct 2015 10:15:05 +0000 (12:15 +0200)]
Fix T34446: Make Local on linked mesh object: object gets removed if redo function is used.
Root of the issue is that we do not re-read lib data blocks and ID placholders (ID_ID bheads)
in undo context (in `blo_read_file_internal`), because `BLO_read_from_memfile` copies
lib datablocks and Main data directly from oldmain.
The idea being, linked data do not change from undo/redo.
This is valid as long as linked data was not changed by the undo step - but if some
was deleted or localized, it will be missing from oldmain, leading to data loss
(note that does not only concern objects, all linkable data types can be affected,
at least in theory).
This commit addresses that issue by carefully mixing reuse of needed data from oldmain,
and "normal" re-reading of missing one. Makes us swimming in some rather dark waters,
and gives a rather non-easy-to-follow code, but it seems to work quite well,
and only other solution would be to get rid of that optimization
(not re-reading all libs on undo/redo), which is not acceptable.
Also, thanks to @carlosdp for initial investigation of the issue.
Differential Revision: https://developer.blender.org/D1485
Campbell Barton [Mon, 12 Oct 2015 04:04:59 +0000 (15:04 +1100)]
Fix T46431: Init glew before glx-context crashes
Initialize glxew before glew,
so we can check whats supported before creating the context.
This also removes need for mxIgnoreNoVersion.
Campbell Barton [Mon, 12 Oct 2015 01:34:17 +0000 (12:34 +1100)]
Support applying scale for font objects
Campbell Barton [Mon, 12 Oct 2015 01:26:48 +0000 (12:26 +1100)]
Cleanup: RNA naming, use 'max' as a suffix
Campbell Barton [Mon, 12 Oct 2015 01:19:27 +0000 (12:19 +1100)]
RNA: correct tips
Brecht Van Lommel [Mon, 12 Oct 2015 00:56:57 +0000 (02:56 +0200)]
Fix T46447: fix build on non-x86 platforms.
Brecht Van Lommel [Mon, 12 Oct 2015 00:41:18 +0000 (02:41 +0200)]
Fix T46446: texture nodes image node not working with image sequences.
Campbell Barton [Mon, 12 Oct 2015 01:02:22 +0000 (12:02 +1100)]
Fix T46434: Shear w/ local-center & editmode fails
Campbell Barton [Mon, 12 Oct 2015 00:35:08 +0000 (11:35 +1100)]
Fix T46444: Crash importing DAE w/ empty armature
Brecht Van Lommel [Sun, 11 Oct 2015 18:25:33 +0000 (20:25 +0200)]
Fix T46085: UV project modifier artifacts with vertices behind the camera.
Thomas Szepe [Sun, 11 Oct 2015 16:43:05 +0000 (18:43 +0200)]
BGE: Change KX_WolrdInfo mathutils vector to color
Change the mathutils callback from vector to color for mistColor, backgroundColor and ambientColor.
Reviewers: lordloki, campbellbarton, panzergame, moguri, sybren
Reviewed By: panzergame, moguri, sybren
Projects: #game_engine, #game_logic
Differential Revision: https://developer.blender.org/D1432
Thomas Szepe [Sun, 11 Oct 2015 16:28:43 +0000 (18:28 +0200)]
BGE: Adding a Max Jumps value to the character physic window
Actually we only have a Python API that allows to change the max jumps value.
The patch also allows non programmers to change the maximum numbers of jumps.
Reviewers: panzergame, sybren, campbellbarton, lordloki, moguri, agoose77
Reviewed By: lordloki, moguri
Projects: #game_engine
Differential Revision: https://developer.blender.org/D1302
Sergey Sharybin [Sun, 11 Oct 2015 14:59:51 +0000 (19:59 +0500)]
Cycles: Make light behavior in local view matching BI
Title says it all, based on feedback of artists from gooseberry team.
This mainly affects cases when going to a local view from layers setup
when some lamps were on invisible layers. Those lights are no longer
becoming visible to the object in local view.
Reviewers: brecht, juicyfruit, dingto
Reviewed By: juicyfruit, dingto
Subscribers: maxon, eyecandy, venomgfx
Differential Revision: https://developer.blender.org/D1326
Sergey Sharybin [Sun, 11 Oct 2015 14:43:30 +0000 (19:43 +0500)]
Fix T45058: Cycles hair shader reflects incorrectly for meshes
The issue was caused by non-continuous tangent space calculated for triangles.
This commit adds a Tangent input to Hair BSDF node which can be used to hook up
Tangent calculated form UV as an input to the node in order to make sure the
tangent space is continuous.
Doing this as an input instead of using default tangent layer from UV because of
several reasons:
- This way it's really easy to preserve compatibility with existing setups.
- Default UV map is not necessarily giving continuous space, one might want to
use other tangent space sources or distort the space for some artistic
decision.
Reviewers: juicyfruit, dingto
Reviewed By: dingto
Differential Revision: https://developer.blender.org/D1428
Sergey Sharybin [Fri, 4 Sep 2015 07:38:10 +0000 (12:38 +0500)]
Cycles: Gracefully handle out-of-memory happening in device vector
Currently only image loading benefits of this and will give magenta color
when image manager detects it's running out of memory.
This isn't ideal solution and can't handle all cases. For example, OOM
killer might kill process before it realized it run out of memory, but
in other cases this could prevent some crashes.
Reviewers: juicyfruit, dingto
Differential Revision: https://developer.blender.org/D1502
Campbell Barton [Sun, 11 Oct 2015 13:46:54 +0000 (00:46 +1100)]
CMake: Enable WITH_PYTHON_INSTALL for lite builds
This is needed to run on OSX and Windows when system python isn't found.
Thomas Szepe [Sun, 11 Oct 2015 13:41:40 +0000 (15:41 +0200)]
BGE: Change character jumping to char
* Change the character jumping variables and methods from int to char.
* Limit the maxJumps integer value from 0 to 255.
* Allow to set the minimum jump amount to 0.
Reviewers: panzergame, lordloki, moguri
Reviewed By: lordloki, moguri
Subscribers: agoose77
Projects: #game_engine
Differential Revision: https://developer.blender.org/D1305
Bastien Montagne [Sun, 11 Oct 2015 13:35:12 +0000 (15:35 +0200)]
Revert "Buildbot: Test enable CUDA binaries for Win32"
This reverts commit
4f296138949e7aa000a1ea52646b57d640b6d563, since Cuda fails again on win32 buildbot...
Sergey Sharybin [Sun, 11 Oct 2015 13:15:02 +0000 (18:15 +0500)]
Cycles: Increase number of textures allowed for OpenCL render
Currently OpenCL devices are packing images into a single texture,
which means technically number of textures is not limited here.
Now OpenCL will use same number of textures as CPU. If we want
to bump number of textures further, this values are to be modified
in sync.
NOTE OpenCL still does not support float textures.
Original patch from a guy called bliblubli in the tracker with
some own modifications.
Reviewers: brecht, dingto, sergey
Differential Revision: https://developer.blender.org/D1530
Thomas Szepe [Sun, 11 Oct 2015 13:19:44 +0000 (15:19 +0200)]
BGE: Fix for last commit
The icon16 and icon32_mesh_capsule.dat files are committed with 0 Kb, because I used the patch from the differential from the Phabricator which I done with a regular .diff file.
Thomas Szepe [Sun, 11 Oct 2015 12:32:20 +0000 (14:32 +0200)]
BGE: Add icons to collision shapes.
This patch adds icons to the physic collision shapes.
Adding a new capsule shape 'mesh_capsule' icon which represent the shape better then the metaballs icon.
And replace the metaballs icon for the Blender collision shape.
{
F206628}
Reviewers: moguri, sybren, agoose77, lordloki, mont29, panzergame, campbellbarton
Reviewed By: lordloki, panzergame, campbellbarton
Projects: #game_engine, #game_ui, #user_interface
Differential Revision: https://developer.blender.org/D1403
Thomas Szepe [Sun, 11 Oct 2015 12:08:38 +0000 (14:08 +0200)]
BGE: Add recursive dupli group deletion
This patch will delete all associated objects from a group instance (dupli group) if the are deleted.
Reviewers: brita_, sybren, lordloki, moguri
Reviewed By: lordloki, moguri
Projects: #game_engine
Maniphest Tasks: T36388
Differential Revision: https://developer.blender.org/D1205
Thomas Szepe [Sun, 11 Oct 2015 11:41:38 +0000 (13:41 +0200)]
BGE: Adding a screenshot function to game actuator
Extending the existing game actuator with a screenshot function, to give also non programmers the ability to take screenshots in the BGE.
Reviewers: lordloki, campbellbarton, moguri
Reviewed By: lordloki, moguri
Subscribers: lordloki, Genome36
Projects: #game_engine
Differential Revision: https://developer.blender.org/D651
Campbell Barton [Sun, 11 Oct 2015 01:54:14 +0000 (12:54 +1100)]
Cleanup: warning with new glew
Campbell Barton [Sun, 11 Oct 2015 01:53:41 +0000 (12:53 +1100)]
Upgrade glew to v1.13
Brecht Van Lommel [Sat, 10 Oct 2015 23:44:47 +0000 (01:44 +0200)]
Fix warnings and remove casts by adding copy_vx_vx_uchar() functions.
Brecht Van Lommel [Sat, 10 Oct 2015 21:18:20 +0000 (23:18 +0200)]
Fix T46441: texture paint soften brush at 0 strength works at full strength.
Brecht Van Lommel [Sat, 10 Oct 2015 19:54:34 +0000 (21:54 +0200)]
Revert "Fix T46406: Cycles ignores default socket value associated with group socket"
Fixes T46442.
Brecht Van Lommel [Sat, 10 Oct 2015 17:18:04 +0000 (19:18 +0200)]
Fix T45152: multiview/stereo render not working with Freestyle + Cycles.
Brecht Van Lommel [Sat, 10 Oct 2015 16:44:19 +0000 (18:44 +0200)]
Fix T44048: freestyle lines in Cycles are in the wrong color space.
Brecht Van Lommel [Wed, 12 Aug 2015 20:17:27 +0000 (22:17 +0200)]
Fix various compiler warnings.
Brecht Van Lommel [Sat, 10 Oct 2015 15:30:19 +0000 (17:30 +0200)]
CMake: minor message cleanups.
Bastien Montagne [Sat, 10 Oct 2015 15:10:07 +0000 (17:10 +0200)]
Fix T46437: Make progress report py helper resitent to 'zero steps' passed value...
To be backported, should we need an 'a' release.
Campbell Barton [Sat, 10 Oct 2015 12:47:41 +0000 (23:47 +1100)]
Random Select Seed Option
Add 'Seed' option for all random select operators
D1508 by @mba105, w/ edits
Brecht Van Lommel [Mon, 5 Oct 2015 01:02:11 +0000 (03:02 +0200)]
Fix T45167: OS X inertial scrolling can lead to unexpected zooming.
Differential Revision: https://developer.blender.org/D1539
Brecht Van Lommel [Sun, 4 Oct 2015 16:00:20 +0000 (18:00 +0200)]
Fix T46341: OS X trackpad and magic mouse gestures not working with 10.11 SDK.
Differential Revision: https://developer.blender.org/D1539
Campbell Barton [Sat, 10 Oct 2015 08:39:35 +0000 (19:39 +1100)]
Fix/Workaround T46431: blender-softwaregl crashes
Order of initialization bug only impacted mesa's software-gl.
For now effectively revert support for glx-context-flags.
Brecht Van Lommel [Sat, 10 Oct 2015 02:08:16 +0000 (04:08 +0200)]
Fix T46403: motion tracking not workig with Xcode 7 on OS X.
Caused by use of the uninitialized shape_ variable in Resize().
Bastien Montagne [Fri, 9 Oct 2015 20:24:58 +0000 (22:24 +0200)]
Fix T46426: 2D-version of zoom border operator is available in 3DView context.
Bastien Montagne [Fri, 9 Oct 2015 19:23:14 +0000 (21:23 +0200)]
Cleanup: 3DView object drawing: afterdraw lists: better 'loop & remove' with BLI_pophead.
Saves two lines and a temp variable for each loop...
Bastien Montagne [Fri, 9 Oct 2015 19:10:14 +0000 (21:10 +0200)]
Fix T46418: Constraints - influence other than 0 or 1 - bad results with non-homogeneous scaled matrices.
Use new interp_m4_m4m4 instead of blend_m4_m4m4.
Note that maybe we could replace other usages of blend_m... by interp_m...,
but this should be investigated on a case-by-case basis.
Bastien Montagne [Fri, 9 Oct 2015 18:57:37 +0000 (20:57 +0200)]
BLI_math: add mat3_polar_decompose, interp_m3_m3m3 and interp_m4_m4m4.
mat3_polar_decompose gives the right polar decomposition of given matrix,
as a pair (U, P) of matrices.
interp_m3_m3m3 uses that polar decomposition to perform a correct matrix interpolation,
even with non-uniformly scaled ones (where blend_m3_m3m3 would fail).
interp_m4_m4m4 just adds translation interpolation to the _m3 variant.
Bastien Montagne [Fri, 9 Oct 2015 18:55:15 +0000 (20:55 +0200)]
BLI: add SVD solver for mat3 (using eigen3).
Sergey Sharybin [Fri, 9 Oct 2015 12:53:29 +0000 (17:53 +0500)]
Cycles: Fix compilation error of CUDA kernel after recent decomposition changes
Sergey Sharybin [Fri, 9 Oct 2015 09:26:23 +0000 (14:26 +0500)]
Cycles: Make sure ray direction is always normalized
Ray direction is assumed to be normalized in such areas as scaling intersection
distance on instance push/pop when doing ray-scene intersection, but it was
possible that some closures wouldn't give normalized direction which could cause
wrong intersection checks.
Now normalization will happen on surface bounce, which could be a bit of a waste
if closure actually gives normalized direction, but currently only transparent
BSDF seems to give guaranteed normalized direction.
Sergey Sharybin [Thu, 8 Oct 2015 16:24:54 +0000 (21:24 +0500)]
Cycles: Fix wrong intersection with motion blur and degenerate object transform
Sergey Sharybin [Thu, 8 Oct 2015 16:14:14 +0000 (21:14 +0500)]
Cycles: Fix issues with quick inverse of degenerate matrix
This fixes part of the issues reported in T46322. Still need to solve
issue with wrong intersection distance scaling.
Sergey Sharybin [Thu, 8 Oct 2015 15:30:51 +0000 (20:30 +0500)]
Cycles: Fix intersection issues caused by degenerate instance matrix
Issue was caused by wrong intersection distance scaling on instance pop,
which could cause intersection distance to become zero, confusing following
intersection checks.
Bastien Montagne [Fri, 9 Oct 2015 08:51:38 +0000 (10:51 +0200)]
Fix T46420: Segfault when instancing smoke domain.
Looks like instancing of smoke sim is not supported at all
(was fake-working in 3DView in 2.74, but not rendered).
But it should not crash - code was adding temp 'fromdupli' base to the delayed
drawing list...
Nice to backport this to 2.76 I think.
Sybren A. Stüvel [Fri, 9 Oct 2015 07:29:31 +0000 (09:29 +0200)]
BGE Fix T41943: Zeroing out angular velocity not possible
This patch makes it possible to zero out angular velocity. tiny angular
velocities may cause instabilities, according to the discussion in T41943,
so they are mapped to (0, 0, 0) instead.
It also applies the same reasoning to the linear velocity, unifying the
different approaches.
Differential revision: D952
Campbell Barton [Fri, 9 Oct 2015 00:04:24 +0000 (11:04 +1100)]
Correct own error in editmesh bvh
Flag mix-up and uninitialized var.
Campbell Barton [Fri, 9 Oct 2015 00:03:23 +0000 (11:03 +1100)]
Fix leak creating 'empty' looptri bvh tree
Brecht Van Lommel [Thu, 8 Oct 2015 23:26:32 +0000 (01:26 +0200)]
Fix T46415: empty node group in GLSL shader has incorrect socket type conversion.
Campbell Barton [Thu, 8 Oct 2015 22:27:23 +0000 (09:27 +1100)]
Fix error after change to IDWalkFunc
Porteries Tristan [Thu, 8 Oct 2015 19:37:03 +0000 (21:37 +0200)]
BGE: Use BLI_task instead of pthread in KX_BlenderSceneConverter.
Sergey Sharybin [Thu, 8 Oct 2015 16:06:09 +0000 (21:06 +0500)]
Fix crash loading modifiers with missing IDs
Was very visible with barcelona file from Cycles benchmark repository.
Sergey Sharybin [Thu, 8 Oct 2015 16:01:44 +0000 (21:01 +0500)]
Fix compilation error with bullet disabled
Sergey Sharybin [Thu, 8 Oct 2015 14:08:28 +0000 (19:08 +0500)]
Cycles: Cleanup, whitespace around keywords
Sergey Sharybin [Thu, 8 Oct 2015 14:04:15 +0000 (19:04 +0500)]
Fix T46407: Enabling OSL breaks Vector Transform node
Lukas Stockner [Thu, 8 Oct 2015 01:31:15 +0000 (03:31 +0200)]
Cycles: Add an interpolation option to environment textures
This commit exposes the interpolation parameter for environment textures (requested by DolpheenDream on IRC), just as it already is for image textures.
Reviewers: sergey
Differential Revision: https://developer.blender.org/D1544
Bastien Montagne [Thu, 8 Oct 2015 13:04:09 +0000 (15:04 +0200)]
Add logicbricks to ID looper.
Bastien Montagne [Thu, 8 Oct 2015 12:59:24 +0000 (14:59 +0200)]
Add rigidbodyworld to id looper.
Bastien Montagne [Thu, 8 Oct 2015 12:56:20 +0000 (14:56 +0200)]
Add id looper for particlesystem.
Bastien Montagne [Thu, 8 Oct 2015 12:38:48 +0000 (14:38 +0200)]
Add a bunch of missing IDs in ID looper...
Bastien Montagne [Thu, 8 Oct 2015 12:21:11 +0000 (14:21 +0200)]
Modifiers: add 'cd_flag' parameter to their ID looping callbacks, needed
since some IDs (objects) are not 'refcounted' while others (textures) are...
Partial merge from id-remap branch.
Joshua Leung [Thu, 8 Oct 2015 12:14:04 +0000 (01:14 +1300)]
Fix: Do not show "Paste Flipped" in the Dope Sheet's Grease Pencil mode
Joshua Leung [Thu, 8 Oct 2015 12:10:13 +0000 (01:10 +1300)]
Fix T46236: NLA transition strips do not get resized when neighbouring strips change
Transition strips in the NLA should always stick to whatever strips are beside it,
and are allowed to grow/shrink as needed to achieve this. Previously the code here
was only checking if the neighbouring strips started encroaching on the transition,
but not whether the transition needed to grow to fill a gap. It was also just
moving all strips when there was insufficient space, even though that would alter
timing down the track.
Now transition strip resizing works as follows:
* It will grow/shrink as necessary to absorb any changes in the length of its neighbours
instead of shunting everything around to maintain its length
* If the neighbour has been resized by an amount greater than the transition's length,
all the strips will need to be shunted away to make way for the neighbour. In this
case, the transition will shrink down to being 1 frame long to ensure that it is
still visible (so that it can be removed if necessary).
Joshua Leung [Thu, 8 Oct 2015 11:02:58 +0000 (00:02 +1300)]
Fix T46391: Sync Length in NLA is not working on all instances of clip
Joshua Leung [Thu, 8 Oct 2015 10:55:24 +0000 (23:55 +1300)]
Fix: "Tweak user" red-alert flag was not getting set on strips on active track
The "tweak user" flag used to flag strips using the same action as the active strip
was not getting set on other strips that live on the same track as the active one.
Strips with this flag set are shown with a red colour to indicate that editing the
action may have the unintended consequence of modifying another strip.
Sergey Sharybin [Thu, 8 Oct 2015 11:03:13 +0000 (16:03 +0500)]
Fix T46406: Cycles ignores default socket value associated with group socket
Sergey Sharybin [Thu, 8 Oct 2015 10:41:25 +0000 (15:41 +0500)]
Cycles: Fix wrong float3->float3 conversion node
Campbell Barton [Thu, 8 Oct 2015 09:29:49 +0000 (20:29 +1100)]
Fix T46386: Duplicate fails updating driver links
Duplicate wasn't updating links,
so duplicatinvg a objects would still point to the originals for curve-taper, texmesh, drivers.
Use generic id-looper to handle replacing data.
Campbell Barton [Thu, 8 Oct 2015 09:09:30 +0000 (20:09 +1100)]
Add USER flags to BKE_library_foreach_ID_link
This way callbacks can know if adjusting user-count is needed.
Campbell Barton [Thu, 8 Oct 2015 08:42:10 +0000 (19:42 +1100)]
Cleanup: use newlibadr_us
Campbell Barton [Thu, 8 Oct 2015 08:18:30 +0000 (19:18 +1100)]
Add missing object-data ID loop pointer
Campbell Barton [Thu, 8 Oct 2015 08:04:33 +0000 (19:04 +1100)]
Off by one error in own recent commit
Bastien Montagne [Thu, 8 Oct 2015 08:09:58 +0000 (10:09 +0200)]
Fix bplayer (c)
Sergey Sharybin [Thu, 8 Oct 2015 07:39:03 +0000 (12:39 +0500)]
Fix T46405: Cycles point density missing update when modifying source object
Sergey Sharybin [Thu, 8 Oct 2015 07:09:28 +0000 (12:09 +0500)]
Cycles: Fix for point density always using render settings for modifiers
Campbell Barton [Thu, 8 Oct 2015 07:19:28 +0000 (18:19 +1100)]
BKE_key: add BKE_key_from_id helper functions
Campbell Barton [Thu, 8 Oct 2015 07:17:10 +0000 (18:17 +1100)]
Cleanup: remove unused fluidsim members
Campbell Barton [Thu, 8 Oct 2015 07:08:57 +0000 (18:08 +1100)]
Add missing object ID loop pointers
Campbell Barton [Thu, 8 Oct 2015 04:56:46 +0000 (15:56 +1100)]
File Read: de-duplicate command line file-load
WM_file_read must support background mode already
since it can be called by Python scripts in background mode.
Campbell Barton [Thu, 8 Oct 2015 04:05:58 +0000 (15:05 +1100)]
BLI_path api, minor changes to CWD handling
- BLI_current_working_dir's return value must be checked, since it may fail.
- BLI_current_working_dir now behaves like getcwd, where a too-small target will return failure.
- avoid buffer overrun with BLI_path_cwd, by taking a maxlen arg.
Campbell Barton [Thu, 8 Oct 2015 03:42:25 +0000 (14:42 +1100)]
Cleanup: redundant code in anim player
Was setting the path to a directory when no file was given -
then checking its a loadable file.
Campbell Barton [Thu, 8 Oct 2015 03:22:16 +0000 (14:22 +1100)]
Cleanup: remove unused arg
Campbell Barton [Thu, 8 Oct 2015 00:11:48 +0000 (11:11 +1100)]
Cleanup: headers
Campbell Barton [Thu, 8 Oct 2015 00:11:31 +0000 (11:11 +1100)]
Cleanup: typos
Campbell Barton [Wed, 7 Oct 2015 23:46:11 +0000 (10:46 +1100)]
Fix T46410: VSE Mask ignores animated properties
Campbell Barton [Wed, 7 Oct 2015 23:16:54 +0000 (10:16 +1100)]
Fix T46408: Transform (bicubic) ID channel fails