6 years agoLinux desktop spec: Add a 'Keyword' field.
Bastien Montagne [Thu, 2 Jul 2015 06:53:45 +0000 (08:53 +0200)]
Linux desktop spec: Add a 'Keyword' field.

6 years agoDerivedMesh: cleanup & minor edirs
Campbell Barton [Thu, 2 Jul 2015 06:20:22 +0000 (16:20 +1000)]
DerivedMesh: cleanup & minor edirs

- place return args last position
- move crazyspace function out of DerivedMesh header
- use bool for args
- flow control on own lines to ease debugging

6 years agoMinor edits to --help
Campbell Barton [Thu, 2 Jul 2015 02:50:09 +0000 (12:50 +1000)]
Minor edits to --help

6 years agoCleanup: Use bool instead of int
Julian Eisel [Wed, 1 Jul 2015 19:48:42 +0000 (21:48 +0200)]
Cleanup: Use bool instead of int

6 years agoTransform: use snap-to-grid behavior from D910
Campbell Barton [Wed, 1 Jul 2015 16:13:15 +0000 (02:13 +1000)]
Transform: use snap-to-grid behavior from D910

Excuse the trashing here, but seems users prefer this most (though both can be useful).

Note that the UI remains the same,
so this is an option for 'Incremental' snapping instead of a new snapping mode.

6 years agoLinux XDesktop spec: add '%f' file specifier to 'Exec' field.
Bastien Montagne [Wed, 1 Jul 2015 15:39:31 +0000 (17:39 +0200)]
Linux XDesktop spec: add '%f' file specifier to 'Exec' field.

Also reorder alphabetically generic names & comments, and add french comment.

6 years agoCleanup: Make select grouped effect code a bit more readable
Antony Riakiotakis [Wed, 1 Jul 2015 15:37:14 +0000 (17:37 +0200)]
Cleanup: Make select grouped effect code a bit more readable

6 years agoRefactoring:
Antony Riakiotakis [Wed, 1 Jul 2015 15:32:56 +0000 (17:32 +0200)]

Make sure SEQ_TYPE_EFFECT is only used as a flag, not as number
This should allow us to add new non-effect types in between
effect types (every 8 indices).

Dirty, but alternative of separating type/subtype means we lose
forward compatibility.

6 years agoBGE: Fix T44069 playing action during libfree.
Porteries Tristan [Wed, 1 Jul 2015 14:38:31 +0000 (16:38 +0200)]
BGE: Fix T44069 playing action during libfree.

6 years agoCorrect --help message
Campbell Barton [Wed, 1 Jul 2015 14:20:09 +0000 (00:20 +1000)]
Correct --help message

6 years agoRemoving gaps will now also move the scene markers, unless markers are
Antony Riakiotakis [Wed, 1 Jul 2015 14:25:28 +0000 (16:25 +0200)]
Removing gaps will now also move the scene markers, unless markers are

6 years agoSequencer metadata:
Antony Riakiotakis [Wed, 1 Jul 2015 13:23:09 +0000 (15:23 +0200)]
Sequencer metadata:

Add option to render strip metadata to final result, bypassing current
scene metadata.

6 years agoBGE: Remove KX_PolygonMaterial reference in documentation.
Porteries Tristan [Wed, 1 Jul 2015 12:56:02 +0000 (14:56 +0200)]
BGE: Remove KX_PolygonMaterial reference in documentation.

6 years agoBPlayer compile fix ©
Bastien Montagne [Wed, 1 Jul 2015 10:34:04 +0000 (12:34 +0200)]
BPlayer compile fix ©

6 years agoatomic_ops: Fix MSVC versions of add/sub returning original value instead of result...
Bastien Montagne [Wed, 1 Jul 2015 10:24:04 +0000 (12:24 +0200)]
atomic_ops: Fix MSVC versions of add/sub returning original value instead of result of operation.

Thanks to Brecht for tip about how to fix this!

6 years agoatomic_ops: fix typo in func names (uint32 instead of uint64).
Bastien Montagne [Wed, 1 Jul 2015 10:21:14 +0000 (12:21 +0200)]
atomic_ops: fix typo in func names (uint32 instead of uint64).

6 years agoCycles: Fix zero-size buffer allocation with OpenCL devices
Sergey Sharybin [Wed, 1 Jul 2015 09:56:48 +0000 (11:56 +0200)]
Cycles: Fix zero-size buffer allocation with OpenCL devices

This is not really supported by OpenCL but might happen in certain
configurations. There might be some remained cases when this happens
but so far can not find any,

6 years agoFix T45253: Particle emitter volume mode and grid mode broken in 2.75.x
Sergey Sharybin [Wed, 1 Jul 2015 08:32:30 +0000 (10:32 +0200)]
Fix T45253: Particle emitter volume mode and grid mode broken in 2.75.x

This is a regression since dced56f and root of the issue comes to the fact
that grid distribution sets UNEXIST flag during distribution, which is then
being reset in initialize_all_particles().

This commit solves the issue, but it's not really nice and some smart guy
might want to revisit it.

6 years agoParticles: Code cleanup, whitespace
Sergey Sharybin [Wed, 1 Jul 2015 07:32:12 +0000 (09:32 +0200)]
Particles: Code cleanup, whitespace

6 years agoCleanup: use bools
Campbell Barton [Wed, 1 Jul 2015 06:57:18 +0000 (16:57 +1000)]
Cleanup: use bools

6 years agoCleanup: use cross_v2v2 function
Campbell Barton [Wed, 1 Jul 2015 06:37:05 +0000 (16:37 +1000)]
Cleanup: use cross_v2v2 function

6 years agoCleanup: doxygen comments
Campbell Barton [Wed, 1 Jul 2015 06:30:26 +0000 (16:30 +1000)]
Cleanup: doxygen comments

6 years agoCleanup: use swap math funcs
Campbell Barton [Wed, 1 Jul 2015 06:02:30 +0000 (16:02 +1000)]
Cleanup: use swap math funcs

6 years agoUser Prefs for NDOF dead-zone
Campbell Barton [Wed, 1 Jul 2015 03:45:19 +0000 (13:45 +1000)]
User Prefs for NDOF dead-zone

D1344 with edits

6 years agoUse macro for user-prefs version checks
Campbell Barton [Wed, 1 Jul 2015 02:47:44 +0000 (12:47 +1000)]
Use macro for user-prefs version checks

6 years agoCycles: Solve some harmless NULL pointer magic
Sergey Sharybin [Tue, 30 Jun 2015 21:23:38 +0000 (23:23 +0200)]
Cycles: Solve some harmless NULL pointer magic

Was harmless but confused some sanity checks, also kinda makes sense
to be more verbose about what's going on there.

6 years agoFix 1px gap in regions drawn with region overlap
Julian Eisel [Tue, 30 Jun 2015 19:02:19 +0000 (21:02 +0200)]
Fix 1px gap in regions drawn with region overlap

6 years agoFix T45240: New depsgraph ignores animation applied on the curve data
Sergey Sharybin [Tue, 30 Jun 2015 16:11:21 +0000 (18:11 +0200)]
Fix T45240: New depsgraph ignores animation applied on the curve data

6 years agoFix T45238: New depsgraph flickers with the lattice modifier
Sergey Sharybin [Tue, 30 Jun 2015 16:00:24 +0000 (18:00 +0200)]
Fix T45238: New depsgraph flickers with the lattice modifier

6 years agoFix T45241: New depsgraph was lacking update of python drivers on time change
Sergey Sharybin [Tue, 30 Jun 2015 15:34:57 +0000 (17:34 +0200)]
Fix T45241: New depsgraph was lacking update of python drivers on time change

It's quite tricky to see if the driver actually depends on time or not,
so currently used approach when we'll be doing some extra updates.

This seems to correspond to how old depsgraph was dealing with this.

6 years agoFix T45239: New depsgraph does not work with IK pole target
Sergey Sharybin [Tue, 30 Jun 2015 14:48:02 +0000 (16:48 +0200)]
Fix T45239: New depsgraph does not work with IK pole target

6 years agoFix T45251 custom directory not taken into account for image proxies.
Antony Riakiotakis [Tue, 30 Jun 2015 14:31:14 +0000 (16:31 +0200)]
Fix T45251 custom directory not taken into account for image proxies.

6 years agoFix for mistake in grid-snap patch
Campbell Barton [Tue, 30 Jun 2015 13:42:17 +0000 (23:42 +1000)]
Fix for mistake in grid-snap patch

6 years agoSelect flush deleting edgeloop in edge mode too
Campbell Barton [Tue, 30 Jun 2015 12:50:32 +0000 (22:50 +1000)]
Select flush deleting edgeloop in edge mode too

6 years agoCMake: remove helper text
Campbell Barton [Tue, 30 Jun 2015 12:46:55 +0000 (22:46 +1000)]
CMake: remove helper text

Its out of date, better use the wiki building docs.

6 years agoCMake: minor edits
Campbell Barton [Tue, 30 Jun 2015 12:44:27 +0000 (22:44 +1000)]
CMake: minor edits

6 years agoTransform: add back absolute snapping option
Campbell Barton [Tue, 30 Jun 2015 08:57:17 +0000 (18:57 +1000)]
Transform: add back absolute snapping option

This ensures that vertices are grid-aligned while transforming,
instead of just snapping the input values for translate.

6 years agoCleanup: transform grid snap round, not floor
Campbell Barton [Tue, 30 Jun 2015 08:26:37 +0000 (18:26 +1000)]
Cleanup: transform grid snap round, not floor

6 years agoNote that closest_point_on_mesh is in object space
Campbell Barton [Tue, 30 Jun 2015 05:47:44 +0000 (15:47 +1000)]
Note that closest_point_on_mesh is in object space

6 years agoCleanup: use const for screen functions
Campbell Barton [Tue, 30 Jun 2015 05:31:55 +0000 (15:31 +1000)]
Cleanup: use const for screen functions

6 years agoCleanup: move BLI_char_switch into BLI_string
Campbell Barton [Tue, 30 Jun 2015 05:18:03 +0000 (15:18 +1000)]
Cleanup: move BLI_char_switch into BLI_string

6 years agoCleanup: use BLI_str prefix for BLI_replacestrN
Campbell Barton [Tue, 30 Jun 2015 04:50:34 +0000 (14:50 +1000)]
Cleanup: use BLI_str prefix for BLI_replacestrN

6 years agoCleanup: move BLI_timestr to BLI_timecode
Campbell Barton [Tue, 30 Jun 2015 04:47:31 +0000 (14:47 +1000)]
Cleanup: move BLI_timestr to BLI_timecode

6 years agoFix T45237: Dither dosn't work in Blender Internal Renderer after Multi-View
Dalai Felinto [Mon, 29 Jun 2015 21:09:49 +0000 (18:09 -0300)]
Fix T45237: Dither dosn't work in Blender Internal Renderer after Multi-View

6 years agoNode Editor: Use Smaller Factor for Grid Snapping
Julian Eisel [Mon, 29 Jun 2015 20:00:31 +0000 (22:00 +0200)]
Node Editor: Use Smaller Factor for Grid Snapping

An attempt to treat @sebastian_k's blood pressure a bit.

6 years agoRemove WITH_TESTS_PERFORMANCE option.
Bastien Montagne [Mon, 29 Jun 2015 18:26:58 +0000 (20:26 +0200)]

Performance tests now have their own CMake macro, which ensures they do not get
added to ctest list, so we do not have to bother about them anymore, and can always
build them (when GTests are enabled, of course).

6 years agoGTests: do not add 'performance' tests to auto-ran tests (with ctest or 'make test...
Bastien Montagne [Mon, 29 Jun 2015 16:15:02 +0000 (18:15 +0200)]
GTests: do not add 'performance' tests to auto-ran tests (with ctest or 'make test')...

6 years agoFix .obj testing.
Bastien Montagne [Mon, 29 Jun 2015 16:14:27 +0000 (18:14 +0200)]
Fix .obj testing.

6 years agoFix 73841 : Game Engine - Camera Lens Shift
Dalai Felinto [Mon, 29 Jun 2015 13:45:27 +0000 (10:45 -0300)]
Fix 73841 : Game Engine - Camera Lens Shift

This is essential for video projection, and the alternative until now was to manually change the projection matrix via Python.
- this page will be removed as soon as I commit this)

Also this is working for perspective and orto cameras BUT if the sensor is not AUTO it will only look correct in blenderplayer (this is an unrelated bug, but just in case someone runs into it while testing this, now you know why you got the issue).

Kudos for the BlenderVR project for supporting this feature development.

Differential Revision:

6 years agoFix T45234: Stereo Parallel vs. Off-Axis
Dalai Felinto [Mon, 29 Jun 2015 13:24:25 +0000 (10:24 -0300)]
Fix T45234: Stereo Parallel vs. Off-Axis

Parallel rendering was not working.

The idea of having parallel convergence mode to render as parallel but
visualize as off-axis was good, but it was leading to some complications
in the code.

I think it's more clear to the user if parallel looks and render as
parallel, and if she wants to pre-visualize the converged planes, simply
temporarily set the camera to off-axis.

6 years agoFix T45022: Update missing when linking objects with new depsgraph
Sergey Sharybin [Mon, 29 Jun 2015 10:58:23 +0000 (12:58 +0200)]
Fix T45022: Update missing when linking objects with new depsgraph

6 years agoFix T45156: scaling region crash
Campbell Barton [Mon, 29 Jun 2015 10:46:23 +0000 (20:46 +1000)]
Fix T45156: scaling region crash

6 years agoFix T45154: Translation binary file( for Japanese is too small
Sergey Sharybin [Mon, 29 Jun 2015 10:26:15 +0000 (12:26 +0200)]
Fix T45154: Translation binary file( for Japanese is too small

The issue was caused by some changes made to msgfmt which were needed to make
modified (cleaned-up, stripped-comments messages) working.

Unfortunately that fix was merged into the release branch, so this fix is to
be ported there as well and verified against rc1 translations.

6 years agoPartial fix T45156: scaling region crash
Campbell Barton [Mon, 29 Jun 2015 06:44:18 +0000 (16:44 +1000)]
Partial fix T45156: scaling region crash

'ar->winy' may not be initialized, making regions zoom in (past limits)
and attempt to draw very large text (~10x10k size characters), often crashing.

Fix isn't complete since it only corrects factory startup.

6 years agoCleanup: Style in for loops header.
Thomas Dinges [Sun, 28 Jun 2015 22:56:04 +0000 (00:56 +0200)]
Cleanup: Style in for loops header.

6 years agoFix T45227: Light optimization commit broke world MIS
Sergey Sharybin [Sun, 28 Jun 2015 18:47:35 +0000 (20:47 +0200)]
Fix T45227: Light optimization commit broke world MIS

6 years agoCycles: Avoid having duplication of BVH arrays during build
Sergey Sharybin [Sun, 28 Jun 2015 16:07:48 +0000 (18:07 +0200)]
Cycles: Avoid having duplication of BVH arrays during build

Previous idea behind having vector during building and array for actual storage
was needed in order to minimize amount of re-allocations happening during the
build, but it lead to double memory overhead used by those arrays at the vector
to array conversion stage.

Issue with such approach was that for BVH without spatial split size of arrays
is known in advance and it never changes, which made vector to array conversion
totally redundant.

Also after testing with several rather complex from spatial split scenes (such
as trees) it seems even conservative approach of reallocation (when we perform
re-allocation when leaf does not fit into the memory) doesn't give measurable
difference in time.

This makes it so we can switch to array, which will avoid unneeded memory
re-allocations when spatial split is disabled without harming other cases.

it's a bit difficult to measure exact benefit of this change on our production
files here, but depending on the scene it might give quite reasonable memory

6 years agoCycles: Add assert to an array at() function to be sure we don't have bad memory...
Sergey Sharybin [Sun, 28 Jun 2015 09:18:48 +0000 (11:18 +0200)]
Cycles: Add assert to an array at() function to be sure we don't have bad memory access

6 years agoCycles: Minor code style cleanup, whitesaces
Sergey Sharybin [Sun, 28 Jun 2015 08:51:49 +0000 (10:51 +0200)]
Cycles: Minor code style cleanup, whitesaces

6 years agoBGE: added clamping of angular velocity.
Sybren A. Stüvel [Tue, 23 Jun 2015 13:02:28 +0000 (15:02 +0200)]
BGE: added clamping of angular velocity.

Angular velocity clamping was missing from the BGE. It is implemented
similarly to the linear velocity clamping. It is needed to be able to
drive physical simulations of systems that have a limited rotational

Reviewed by: campbellbarton, panzergame, ton

Differential Revision:

6 years agoBGE Fix: apply velocity clamping on every physics subtick
Sybren A. Stüvel [Thu, 18 Jun 2015 12:43:30 +0000 (14:43 +0200)]
BGE Fix: apply velocity clamping on every physics subtick

This patch uses the Bullet "internal tick callback" functionality to
ensure that velocity clamping is performed after every physics update.
This makes a difference when physics subticks > 1, as in that case the
too-high velocity could have impacted the simulation.

This patch follows the examples at [1] and [2]; the latter example
also explains that the way we limit velocity in the BGE (before this
patch) is wrong.


Reviewed by: panzergame

Differential Revision:

6 years agoCleanup: remove BLI prefix from BKE funcs
Campbell Barton [Sun, 28 Jun 2015 09:09:20 +0000 (19:09 +1000)]
Cleanup: remove BLI prefix from BKE funcs

6 years agoFix T45214: BI render: maximum saturation bug in shadow pass with non-shadow lighting.
Bastien Montagne [Sun, 28 Jun 2015 08:46:42 +0000 (10:46 +0200)]
Fix T45214: BI render: maximum saturation bug in shadow pass with non-shadow lighting.

In case scene lighting would only have non-shadow light source, shadow intensity
would remain to 'pitch black'...

6 years agoTemporarily disable absolute snapping
Campbell Barton [Sun, 28 Jun 2015 00:03:55 +0000 (10:03 +1000)]
Temporarily disable absolute snapping

This really should have been finalized as a design task first,
there are too many open topics on how it should work.

6 years agoFix T45216: File Browser shows negative sizes for large files.
Bastien Montagne [Sat, 27 Jun 2015 21:39:48 +0000 (23:39 +0200)]
Fix T45216: File Browser shows negative sizes for large files.

Simply backport small part of work from asset-experiments here (using double and
adding tera-bytes unit), looks like off_t is not always 64bits even on a 64bit OS...

6 years agoCycles: Use aligned blender allocator when using guarded allocation
Sergey Sharybin [Sat, 27 Jun 2015 19:07:43 +0000 (21:07 +0200)]
Cycles: Use aligned blender allocator when using guarded allocation

This way we solve possible issues caused by regular allocator not being aware of
some classes preferring 16 bytes alignment needed for SSE to work properly. This
caused random crashes during rendering.

Now we always use aligned allocation in GuardedAllocator which shouldn't be any
measurable performance impact and the code is only used by developers after
defining special symbol, so there is no impact on release builds at all.

6 years agoOpenGL debug contexts:
Antony Riakiotakis [Sat, 27 Jun 2015 15:20:30 +0000 (17:20 +0200)]
OpenGL debug contexts:

Enable debug output in debug contexts for gl 4.3+

6 years agoCycles: Fix for wrong device enumeration in CUDA
Sergey Sharybin [Sat, 27 Jun 2015 13:11:46 +0000 (15:11 +0200)]
Cycles: Fix for wrong device enumeration in CUDA

it is the same issue as described in the previous commit, original changes
in this area were wrong and only worked on a bugger optimus driver which
simply appeared to work by co-incident and in fact used wrong device..

6 years agoCycles: Rework the way how OpenCL devices are created
Sergey Sharybin [Sat, 27 Jun 2015 13:03:51 +0000 (15:03 +0200)]
Cycles: Rework the way how OpenCL devices are created

It was annoying copy-paste happened across OpenCL device constructor, device
enumeration and split kernel checks. Now those areas are using an utility
function which returns pairs of platform and device IDs for devices which are
supported by Cycles and enumeration is happening inside that list.

This makes it so filtering is happening in a single place, so there's no need
to keep 3 different functions in sync.

This commit also fixes a bug with wrong enumeration of devices caused by recent
fixes. Those fixes were in fact wrong and only happened to appear to be working
on laptop with optimus card on Linux. Root of those issues is in fact in bad
Linux driver for optimus cards.

6 years agoCycles: Allow using custom allocators for vector class
Sergey Sharybin [Fri, 26 Jun 2015 20:36:31 +0000 (22:36 +0200)]
Cycles: Allow using custom allocators for vector class

6 years agoCycles: Ignore light which has no contribution to the scene
Sergey Sharybin [Thu, 25 Jun 2015 15:00:32 +0000 (17:00 +0200)]
Cycles: Ignore light which has no contribution to the scene

This commit makes it so light which has zero energy or doesn't has
emission shader at all is being ignored by the path tracing.

6 years agoTransform: absolute grid snapping
Campbell Barton [Sat, 27 Jun 2015 05:30:17 +0000 (15:30 +1000)]
Transform: absolute grid snapping

D910 by @donfabio with edits

New icon for menu is still TODO

6 years agoCycles standalone: add support for reading UV coordinates to the XML scene reader
Martijn Berger [Sat, 27 Jun 2015 10:05:05 +0000 (12:05 +0200)]
Cycles standalone: add support for reading UV coordinates to the XML scene reader

6 years agoCleanup: int/uint mismatch in printf...
Bastien Montagne [Sat, 27 Jun 2015 09:02:58 +0000 (11:02 +0200)]
Cleanup: int/uint mismatch in printf...

6 years agoCleanup: all params of BLI_str partition funcs can be const...
Bastien Montagne [Sat, 27 Jun 2015 09:00:47 +0000 (11:00 +0200)]
Cleanup: all params of BLI_str partition funcs can be const...

6 years agoOpenEXR cleanup: get rid of public `IMB_exr_split_token`, use BLI str helpers instead...
Bastien Montagne [Sat, 27 Jun 2015 08:24:00 +0000 (10:24 +0200)]
OpenEXR cleanup: get rid of public `IMB_exr_split_token`, use BLI str helpers instead of own cooking.

6 years agoGTests for new 'end' option of `BLI_str_partition_ex()`.
Bastien Montagne [Sat, 27 Jun 2015 08:22:56 +0000 (10:22 +0200)]
GTests for new 'end' option of `BLI_str_partition_ex()`.

6 years agoExtend `BLI_str_partition_ex`: add possibility to define a right limit to the string.
Bastien Montagne [Sat, 27 Jun 2015 08:22:29 +0000 (10:22 +0200)]
Extend `BLI_str_partition_ex`: add possibility to define a right limit to the string.

Now you can define `end` pointer as right limit of the string (allows to easily search
in substring, especially useful when searching from right).

6 years agoFix part of code in `load_image_single()` wrongly disabled when WITH_OPENEXR was...
Bastien Montagne [Sat, 27 Jun 2015 07:52:52 +0000 (09:52 +0200)]
Fix part of code in `load_image_single()` wrongly disabled when WITH_OPENEXR was disabled.

6 years agoFix crasher when loading multiview OpenEXR image.
Bastien Montagne [Sat, 27 Jun 2015 07:46:38 +0000 (09:46 +0200)]
Fix crasher when loading multiview OpenEXR image.

With multiview/multilayer OpenEXR file, `load_image_single()` will return NULL ibuf,
since it has already populated ima (with `image_create_multiview()` or
`image_create_multilayer()` calls).

Also, added some more checks before doing `IMB_ImBufFromStereo3d()`, to be sure
we do have enough slots in ibuf_arr, and we do not overwrite second ibuf either.

6 years agoFix T45204: String Splitting Function Bug: Using OpenEXR function even if compiled...
Bastien Montagne [Fri, 26 Jun 2015 17:41:51 +0000 (19:41 +0200)]
Fix T45204: String Splitting Function Bug: Using OpenEXR function even if compiled without OpenEXR.


Also, fix a potential buffer overrun here.

This should be backported to final release.

6 years agoCleanup: Fix a typo in world MIS.
Thomas Dinges [Fri, 26 Jun 2015 19:36:28 +0000 (21:36 +0200)]
Cleanup: Fix a typo in world MIS.

Found by Lukas Stockner, thanks!

6 years agoFix crash on undoing after 8690ea6
Antony Riakiotakis [Fri, 26 Jun 2015 15:50:08 +0000 (17:50 +0200)]
Fix crash on undoing after 8690ea6

Forgot to clear the mutex when reloading the scene.

6 years agoMake code compile with GPU_DEBUG
Antony Riakiotakis [Fri, 26 Jun 2015 14:18:06 +0000 (16:18 +0200)]
Make code compile with GPU_DEBUG

6 years agoFix T45199 crash when editing material nodes.
Antony Riakiotakis [Fri, 26 Jun 2015 12:47:53 +0000 (14:47 +0200)]
Fix T45199 crash when editing material nodes.

Issue is data race between preview job and GPU nodetree evaluation when
localizing the nodetree. Data race happens due to localizations doing
overrides on original nodes' new_node variable.

Solution here could probably be to use a hash for mapping of old to new
nodes but will prefer simple brute force lock for now.

6 years agoCleanup: transform center
Campbell Barton [Fri, 26 Jun 2015 06:19:39 +0000 (16:19 +1000)]
Cleanup: transform center

store global center in transform struct,
some code was calculating all the time, this is useful to keep available.

6 years agoCleanup: transform aspect
Campbell Barton [Fri, 26 Jun 2015 05:45:09 +0000 (15:45 +1000)]
Cleanup: transform aspect

Transform code had duplicate aspect checking,
now store aspect in TransInfo.aspect for reuse.

6 years agoRevert "Fix off by one error in display of start/end frame in sequencer."
Antony Riakiotakis [Thu, 25 Jun 2015 18:10:30 +0000 (20:10 +0200)]
Revert "Fix off by one error in display of start/end frame in sequencer."

This reverts commit 0e02ad8b6495b2755598a24b487041a3ed8e0116.

Initial commit was done so visual result fits with animation cursor
in timeline but this makes it so it looks like one extra frame is
rendered. Other idea would be to render one less frame for sequencer
but this is not so nice either. Generally here's no way to be
fully consistent here, but at least let's be workflow-consistent

6 years agoFix T45191 Speed strip behaviour not easy to predict.
Antony Riakiotakis [Thu, 25 Jun 2015 17:49:08 +0000 (19:49 +0200)]
Fix T45191 Speed strip behaviour not easy to predict.

Code here calculated speed based on underlying strip start position,
which was not really visible, making prediction of the result really
difficult. Things here are simple: As long as the strip exists,
manipulate the current frame by the provided factor.

6 years agoFix T45190 effect muting does not restore original sequencer display.
Antony Riakiotakis [Thu, 25 Jun 2015 16:21:58 +0000 (18:21 +0200)]
Fix T45190 effect muting does not restore original sequencer display.

6 years agoCorrect error in recent refactor
Campbell Barton [Thu, 25 Jun 2015 12:11:25 +0000 (22:11 +1000)]
Correct error in recent refactor

Closed loops missed last line

6 years agoSelect flush was missing in delete edge-loop
Campbell Barton [Thu, 25 Jun 2015 11:06:47 +0000 (21:06 +1000)]
Select flush was missing in delete edge-loop

6 years agosplash fix, previous had color conversion error
Campbell Barton [Thu, 25 Jun 2015 08:29:20 +0000 (18:29 +1000)]
splash fix, previous had color conversion error

6 years agoWeight Paint: replace Blend with Smooth tool
Campbell Barton [Thu, 25 Jun 2015 06:10:18 +0000 (16:10 +1000)]
Weight Paint: replace Blend with Smooth tool

Improved behavior

- can smooth # iterations
- option to expand/contract weights
- optionally mix with all/selected/unselected

6 years agoAPI calls for converting weights to float array
Campbell Barton [Thu, 25 Jun 2015 05:59:48 +0000 (15:59 +1000)]
API calls for converting weights to float array

6 years agoCleanup: generalize weight paint poll function
Campbell Barton [Wed, 24 Jun 2015 22:32:09 +0000 (08:32 +1000)]
Cleanup: generalize weight paint poll function

6 years agoBGE: Missing dot in 2d filter actuator documentation.
Quentin Wenger [Wed, 24 Jun 2015 20:31:11 +0000 (22:31 +0200)]
BGE: Missing dot in 2d filter actuator documentation.

6 years agoBGE: Fix 2dfilter actuator mode constants.
Quentin Wenger [Wed, 24 Jun 2015 13:31:22 +0000 (15:31 +0200)]
BGE: Fix 2dfilter actuator mode constants.

6 years agoBGE: Fix color used as background in VideoTexture.
Quentin Wenger [Wed, 24 Jun 2015 10:52:54 +0000 (12:52 +0200)]
BGE: Fix color used as background in VideoTexture.

Now we use color converted (if we do a color management) by the setter for background color in VideoTexture (ImageRender & ImageMirror).


6 years agoWeightPaint Blend: don't stack mem for dverts
Campbell Barton [Wed, 24 Jun 2015 10:42:02 +0000 (20:42 +1000)]
WeightPaint Blend: don't stack mem for dverts

Bad assumption since this could be a large list