blender.git
8 years agoStyle cleanup: whitespace
Sergey Sharybin [Wed, 8 Aug 2012 16:46:42 +0000 (16:46 +0000)]
Style cleanup: whitespace

8 years agoSequencer: initial support of refreshing only changed sequences
Sergey Sharybin [Wed, 8 Aug 2012 16:46:40 +0000 (16:46 +0000)]
Sequencer: initial support of refreshing only changed sequences

Before this the the whole sequencer cache would be invalidated
when hanging sequence settings.

This was completely annoying because changing color balance
settings would re-load image file for which color balance
is happening on every change,

In fact it's still an issue if color balance is changing for
image strip itself, but if this strip has got effect and
color balance is changing for it file wouldn't be reloaded.

8 years agoimprovement to the DOF node, after blurring the radius buffer (derived from the depth...
Campbell Barton [Wed, 8 Aug 2012 16:46:12 +0000 (16:46 +0000)]
improvement to the DOF node, after blurring the radius buffer (derived from the depth), overlay with the original so pixels in focus are not mixed with out of focus pixels.

8 years agoSearch option for adding nodes.
Lukas Toenne [Wed, 8 Aug 2012 16:44:16 +0000 (16:44 +0000)]
Search option for adding nodes.

The 'Add' menu in the node editor now has an option 'Search' at the top, which opens a separate popup for searching node types by name.

The operator for this is implemented completely in Python (this could also be done for the regular menu-based Add options in the future). There are a few necessary extensions to the RNA as well:

* The View2D struct in regions is now exposed. Currently only contains converter functions for coordinates from the region to the view (i.e. scrolled and zoomed view space). Used for converting mouse location to node space.

* The SpaceNode exposes the existing 'cursor_location' for operators to store mouse position beyond invoke calls. Not used for anything else (transforms) so far.

* The edit_tree in SpaceNode is also exposed, this is needed for operators to work correctly inside node groups.

8 years agoDOF node: clamp blurring the zdepth radius buffer by the blur max. This could doo...
Campbell Barton [Wed, 8 Aug 2012 16:14:56 +0000 (16:14 +0000)]
DOF node: clamp blurring the zdepth radius buffer by the blur max. This could doo easily blur very high depths and cause artifacts.

8 years agodata_to_c in cmake, not used yet.
Campbell Barton [Wed, 8 Aug 2012 16:03:42 +0000 (16:03 +0000)]
data_to_c in cmake, not used yet.

8 years agoCode cleanup - whitespace
Joshua Leung [Wed, 8 Aug 2012 14:02:44 +0000 (14:02 +0000)]
Code cleanup - whitespace

8 years agoDisable saving property defaults for many of the properties for animation-editor
Joshua Leung [Wed, 8 Aug 2012 14:02:18 +0000 (14:02 +0000)]
Disable saving property defaults for many of the properties for animation-editor
click activated operators to prevent any further errors

8 years agoBugfix [#32250] Dubious selection mode in Dopesheet and Action Editor makes it
Joshua Leung [Wed, 8 Aug 2012 13:55:30 +0000 (13:55 +0000)]
Bugfix [#32250] Dubious selection mode in Dopesheet and Action Editor makes it
impossible to delete ungrouped channels

* Active flag wouldn't get cleared off selected Groups and FCurves when clicking
on them again to deselect them

* Disabled property defaults saving for click-handling operator for channels.
While testing the fix for this bug, I noticed that the property-defaults stuff
was leading to selections always defaulting to "extend" once this had been used
once.

8 years agoMovie cache: add function to iterate through cache and remove items
Sergey Sharybin [Wed, 8 Aug 2012 12:16:46 +0000 (12:16 +0000)]
Movie cache: add function to iterate through cache and remove items
using custom check function for this.

Currently unused, but would be helpful for sequencer cache.

8 years agoFix logic error in mipmap filter and refactor scaling routine to lower self cost...
Sv. Lockal [Wed, 8 Aug 2012 12:15:26 +0000 (12:15 +0000)]
Fix logic error in mipmap filter and refactor scaling routine to lower self cost by ~30%

8 years agoCode cleanup: make some more functions more meaningful name
Sergey Sharybin [Wed, 8 Aug 2012 11:56:58 +0000 (11:56 +0000)]
Code cleanup: make some more functions more meaningful name

8 years agoStyle cleanup
Sergey Sharybin [Wed, 8 Aug 2012 11:52:14 +0000 (11:52 +0000)]
Style cleanup

8 years agoCode cleanup: BKE_ prefix for public sequencer functions
Sergey Sharybin [Wed, 8 Aug 2012 11:15:40 +0000 (11:15 +0000)]
Code cleanup: BKE_ prefix for public sequencer functions

8 years agoCode cleanup: remove redundant struct and some space cleanup
Sergey Sharybin [Wed, 8 Aug 2012 11:15:38 +0000 (11:15 +0000)]
Code cleanup: remove redundant struct and some space cleanup

8 years agoCode cleanup: remove unused functions
Sergey Sharybin [Wed, 8 Aug 2012 11:15:36 +0000 (11:15 +0000)]
Code cleanup: remove unused functions

The code would be in SVN anyway and having bunch of unused code
doesn't seems to be logical.

8 years agoStyle cleanup: white space
Sergey Sharybin [Wed, 8 Aug 2012 11:15:36 +0000 (11:15 +0000)]
Style cleanup: white space

8 years agoCode cleanup: mark functions as static, ifdef 0 some unused functions
Sergey Sharybin [Wed, 8 Aug 2012 11:15:32 +0000 (11:15 +0000)]
Code cleanup: mark functions as static, ifdef 0 some unused functions

8 years agofix for minor regression in own recent edits: sample line was drawing in newly create...
Campbell Barton [Wed, 8 Aug 2012 08:41:10 +0000 (08:41 +0000)]
fix for minor regression in own recent edits: sample line was drawing in newly created curve nodes (Hue correct).

8 years agoskip loading file selector icons when running in background mode.
Campbell Barton [Wed, 8 Aug 2012 08:25:20 +0000 (08:25 +0000)]
skip loading file selector icons when running in background mode.

8 years agoFix crash in cases when render layers node is muted
Sergey Sharybin [Wed, 8 Aug 2012 08:15:56 +0000 (08:15 +0000)]
Fix crash in cases when render layers node is muted

8 years agopatch [#32282] Fix segfault on exit in IM shutdown.
Campbell Barton [Wed, 8 Aug 2012 07:31:19 +0000 (07:31 +0000)]
patch [#32282] Fix segfault on exit in IM shutdown.

from Bill Currie (taniwha)

8 years agoAccidentally did a commit when I wanted to revert... (ignore my last revision)
Mitchell Stokes [Wed, 8 Aug 2012 01:29:20 +0000 (01:29 +0000)]
Accidentally did a commit when I wanted to revert... (ignore my last revision)

8 years ago(no commit message)
Mitchell Stokes [Wed, 8 Aug 2012 01:24:48 +0000 (01:24 +0000)]

8 years agouse -FLT_MAX where FLT_MIN was misused
Campbell Barton [Tue, 7 Aug 2012 19:49:38 +0000 (19:49 +0000)]
use -FLT_MAX where FLT_MIN was misused

8 years agominor edits to node view
Campbell Barton [Tue, 7 Aug 2012 18:45:24 +0000 (18:45 +0000)]
minor edits to node view
- when single (non frame) node selected, dont zoom in, just pan.
- only reset the background when pressing home key

8 years agofix for own error confusing FLT_MIN with -FLT_MAX (didnt get into a release, dont...
Campbell Barton [Tue, 7 Aug 2012 18:41:47 +0000 (18:41 +0000)]
fix for own error confusing FLT_MIN with -FLT_MAX (didnt get into a release, dont include in log)

8 years agoselect linked
Campbell Barton [Tue, 7 Aug 2012 17:20:21 +0000 (17:20 +0000)]
select linked
- dupligroup now only selects objects with dupligroup enabled.
- selected onjects are skipped, this way and undo push wont happen if no new objects are selected.

also minor edits to node view all/selected

8 years agoMade image buffer threaded processor generic function,
Sergey Sharybin [Tue, 7 Aug 2012 16:47:46 +0000 (16:47 +0000)]
Made image buffer threaded processor generic function,
so color management could use the same routines.

Should be no functional changes.

8 years agoadd view selected for node view
Campbell Barton [Tue, 7 Aug 2012 16:30:34 +0000 (16:30 +0000)]
add view selected for node view

8 years agoMade color balance in sequencer multi-threaded
Sergey Sharybin [Tue, 7 Aug 2012 16:09:42 +0000 (16:09 +0000)]
Made color balance in sequencer multi-threaded

Should give some more realtime update, but it's currently not the
biggest issue - changing color balance settings would imply reloading
of file which is slow. Would be investigated further.

This change shouldn't affect on pre-fetching job which is already
multi-threaded and doing threaded color balance would make things
only worse.

8 years agouse bilinear rather then bicubic scaling because bicubic blurs too much.
Campbell Barton [Tue, 7 Aug 2012 15:01:48 +0000 (15:01 +0000)]
use bilinear rather then bicubic scaling because bicubic blurs too much.

8 years agoPlace color weels used for color balance in sequencer vertically
Sergey Sharybin [Tue, 7 Aug 2012 14:59:49 +0000 (14:59 +0000)]
Place color weels used for color balance in sequencer vertically

This was it makes more sense from accurate tuning point of view.

8 years agoOSX/cmake: refactoring of setting endianess defines, this fixes compile of builds...
Jens Verwiebe [Tue, 7 Aug 2012 13:51:19 +0000 (13:51 +0000)]
OSX/cmake: refactoring of setting endianess defines, this fixes compile of builds with endianess other than the buildmachine and avoids also failing configuration with xcode 4.4 due not supporting big_endian archs anymore

8 years agomask - draw both sides of the curve when `filled` option is disabled.
Campbell Barton [Tue, 7 Aug 2012 13:37:16 +0000 (13:37 +0000)]
mask - draw both sides of the curve when `filled` option is disabled.

8 years agoCode Cleanup:
Thomas Dinges [Tue, 7 Aug 2012 13:22:40 +0000 (13:22 +0000)]
Code Cleanup:
* Remove old comment, Internal Player is working again.

8 years agoFix knife stack overflow (bug #31907).
Howard Trickey [Tue, 7 Aug 2012 12:54:32 +0000 (12:54 +0000)]
Fix knife stack overflow (bug #31907).
The mutual recursion was removed: it was not needed.

8 years agoFix for fix, now nested
Jens Verwiebe [Tue, 7 Aug 2012 12:09:48 +0000 (12:09 +0000)]
Fix for fix, now nested

8 years agoFix for endiantest, xcode condition interferred with other os
Jens Verwiebe [Tue, 7 Aug 2012 12:03:43 +0000 (12:03 +0000)]
Fix for endiantest, xcode condition interferred with other os

8 years agoFix for particle influence textures. These now work with "Particle/Strand" input...
Lukas Toenne [Tue, 7 Aug 2012 10:54:50 +0000 (10:54 +0000)]
Fix for particle influence textures. These now work with "Particle/Strand" input coordinates, mapping the relative particle index into the [-1, 1] Y-coordinate range.

8 years agoOSX: disable kernels in cycles gpu again, would only work in 10.8 afaik
Jens Verwiebe [Tue, 7 Aug 2012 10:10:03 +0000 (10:10 +0000)]
OSX: disable kernels in cycles gpu again, would only work in 10.8 afaik

8 years agofix a crash when python is registering enum properties and the `items` argument is...
Campbell Barton [Tue, 7 Aug 2012 10:03:14 +0000 (10:03 +0000)]
fix a crash when python is registering enum properties and the `items` argument is a generator (some sequence type besides a list/typle), in this case it could free the strings before blender duplicates them.

this fixes [#32192] Import Images as Planes script is broken

8 years agoOSX/cmake: Mountain-Lion (10.8 )adaptions, skip unsupported endianess etc., todo...
Jens Verwiebe [Tue, 7 Aug 2012 10:02:34 +0000 (10:02 +0000)]
OSX/cmake: Mountain-Lion (10.8 )adaptions, skip unsupported endianess etc., todo: deployment target management

8 years agospeedup to inpaint node in my tests was about ~30% for an optimized build.
Campbell Barton [Tue, 7 Aug 2012 09:20:30 +0000 (09:20 +0000)]
speedup to inpaint node in my tests was about ~30% for an optimized build.

also replace MIN/MAX2 with inline functions in transform.

8 years agoFix for drawing arrows on node lines between two reroute nodes. This was a typo in...
Lukas Toenne [Mon, 6 Aug 2012 20:48:08 +0000 (20:48 +0000)]
Fix for drawing arrows on node lines between two reroute nodes. This was a typo in r48762 which inverted the arrow scale.

8 years agoSwitching images in the image space would modify UV coordinates.
Campbell Barton [Mon, 6 Aug 2012 19:28:22 +0000 (19:28 +0000)]
Switching images in the image space would modify UV coordinates.

This is an intended feature but works too unreliably.

- This setting was stored in each face and only editable by re-running the unwrap, this is too hidden (only discovered this by reading code).
- This worked with blender internal but not with cycles, such basic options as changing an image shouldn't behave different depending on the render engine selected.

I've ifdef'd out the aspect correction for now, it could be added back as a per scene option and be made to run on both cycles or blender internal but for now I prefer to keep this disabled.

8 years agoAdding "inpaint" as allowed words...
Bastien Montagne [Mon, 6 Aug 2012 19:19:51 +0000 (19:19 +0000)]
Adding "inpaint" as allowed words...

8 years agoTile fix: Use the validity flag in node links directly instead of the indirect node...
Lukas Toenne [Mon, 6 Aug 2012 19:11:59 +0000 (19:11 +0000)]
Tile fix: Use the validity flag in node links directly instead of the indirect node level check for cyclic links to avoid crash in cases of invalid links, which can be created in some situations (reroute nodes). The link flag may have been set by additional constraints. It is much simpler to use and avoids the redundant check.

8 years agoFix for incomplete Reroute node updates. Adding reroute nodes by spliting links would...
Lukas Toenne [Mon, 6 Aug 2012 18:49:28 +0000 (18:49 +0000)]
Fix for incomplete Reroute node updates. Adding reroute nodes by spliting links would often result in unrelated color sockets or otherwise miss updates.

The reason is that the per-node updates used for Reroute node type inheritance are not supposed to be looking at connected nodes, they are purely for "local" updates. For this sort of "global" update which requires depth-first search, the update function on the node tree level must be used instead.

8 years agoFix for Reroute nodes: Reloading could change socket types without updating the socke...
Lukas Toenne [Mon, 6 Aug 2012 16:25:38 +0000 (16:25 +0000)]
Fix for Reroute nodes: Reloading could change socket types without updating the socket data structs, leading to crash. This is caused by the node verification procedure, which resets any socket type to the initial type defined in the socket templates. Adding sockets dynamically without templates solves this (the sockets are then ignored by verification).

8 years agobring back the play option from 2.4x
Campbell Barton [Mon, 6 Aug 2012 16:07:11 +0000 (16:07 +0000)]
bring back the play option from 2.4x

8 years agomissed this when merging inpaint
Campbell Barton [Mon, 6 Aug 2012 15:59:09 +0000 (15:59 +0000)]
missed this when merging inpaint

8 years agoMade feather self-intersection check an option.
Sergey Sharybin [Mon, 6 Aug 2012 15:20:14 +0000 (15:20 +0000)]
Made feather self-intersection check an option.
Useful in cases when masking stuff like self-intersecting
ropes. This could probably be smarter option, but can't
currently think about robust approach here.

8 years agofix for bge module imports so you can do for eg:
Campbell Barton [Mon, 6 Aug 2012 14:29:25 +0000 (14:29 +0000)]
fix for bge module imports so you can do for eg:

  import bge.render as render

8 years agoMask feather self-intersection check
Sergey Sharybin [Mon, 6 Aug 2012 13:53:38 +0000 (13:53 +0000)]
Mask feather self-intersection check

Enable self-intersection check for preview. In own tests average
time for this operation on mango files was ~0.0015sec, and it was
like 20 splines max which still gives pretty smooth performance
on my core quad machine.

Would think let's check how it works for now, if it'll give some
issues here, would just avoid tessellation on every redraw by
storing tessellation in some cache (probably in mask user).

Another change is related on a way which loop to collapse.
Changed length check with AABB size check. A bit slower but
should be a bit more predictable.

8 years agoinpaint node from tomato branch by Peter Schlaile
Campbell Barton [Mon, 6 Aug 2012 13:45:11 +0000 (13:45 +0000)]
inpaint node from tomato branch by Peter Schlaile

http://en.wikipedia.org/wiki/Inpainting

8 years agoPatch [#32246] (Bugfix): UV editor -> "Proportional edit" together with "constrain...
Daniel Genrich [Mon, 6 Aug 2012 13:40:29 +0000 (13:40 +0000)]
Patch [#32246] (Bugfix): UV editor -> "Proportional edit" together with  "constrain to bounds" does not work.

Patch reviewed by Campbell Barton. Thanks!

8 years agoFix to knife: would sometimes miss cuts on non-planar faces.
Howard Trickey [Mon, 6 Aug 2012 13:37:25 +0000 (13:37 +0000)]
Fix to knife: would sometimes miss cuts on non-planar faces.
Also, there was a needless loop through all three loops of
a tesselation triangle, which all share the same original face.
Also, made an early out for case where an edge cut had already
been discovered on a Knife edge.

8 years agoRemove redundant typedef of BLI_Stack
Howard Trickey [Mon, 6 Aug 2012 13:31:28 +0000 (13:31 +0000)]
Remove redundant typedef of BLI_Stack
(caused compilation errors with some compilers)

8 years agofix for freeing NULL pointer.
Campbell Barton [Mon, 6 Aug 2012 13:04:40 +0000 (13:04 +0000)]
fix for freeing NULL pointer.

8 years agofix for own bug - missing NULL check when the image space starts a render job
Campbell Barton [Mon, 6 Aug 2012 12:14:02 +0000 (12:14 +0000)]
fix for own bug - missing NULL check when the image space starts a render job

8 years agomove pivot point and cursor out of UV rna into image space since both mask and uvedit...
Campbell Barton [Mon, 6 Aug 2012 12:12:45 +0000 (12:12 +0000)]
move pivot point and cursor out of UV rna into image space since both mask and uvedit use them.

8 years agoBugfix: Crash when changing collider type after loading blend file.
Daniel Genrich [Mon, 6 Aug 2012 11:55:52 +0000 (11:55 +0000)]
Bugfix: Crash when changing collider type after loading blend file.

Thanks to MiikaH for pointing out.

8 years agoFix #32271, Node group/parent crash. The grouping operators need to also look at...
Lukas Toenne [Mon, 6 Aug 2012 11:23:09 +0000 (11:23 +0000)]
Fix #32271, Node group/parent crash. The grouping operators need to also look at the non-selected nodes in the edit tree to find nodes whose parent is to be moved but the child is not, and then detach those.

8 years agofix [#32272] crash while rendering and modifying the node setup.
Campbell Barton [Mon, 6 Aug 2012 10:13:49 +0000 (10:13 +0000)]
fix [#32272] crash while rendering and modifying the node setup.

8 years agostyle cleanup
Campbell Barton [Mon, 6 Aug 2012 10:03:17 +0000 (10:03 +0000)]
style cleanup

8 years agonode transform for frames was broken since the frames locx, locy are used as offsets...
Campbell Barton [Mon, 6 Aug 2012 09:08:24 +0000 (09:08 +0000)]
node transform for frames was broken since the frames locx, locy are used as offsets, now node transform uses node ccenters (works nicer for regular nodes too).

8 years agoprevent copy/paste from incompatible types (compo -> material for eg) - would crash...
Campbell Barton [Mon, 6 Aug 2012 08:41:45 +0000 (08:41 +0000)]
prevent copy/paste from incompatible types (compo -> material for eg) - would crash instantly.

8 years agofix for node clipboard leak on exit, also use blenders convention for function naming...
Campbell Barton [Mon, 6 Aug 2012 08:25:24 +0000 (08:25 +0000)]
fix for node clipboard leak on exit, also use blenders convention for function naming with BKE clipboard funcs.

8 years agofix for building in debug mode.
Campbell Barton [Mon, 6 Aug 2012 08:01:20 +0000 (08:01 +0000)]
fix for building in debug mode.

8 years agoFix for [#32054] "Animation break after resuming scene" reported by Andreas Esau...
Mitchell Stokes [Mon, 6 Aug 2012 00:53:26 +0000 (00:53 +0000)]
Fix for [#32054] "Animation break after resuming scene" reported by Andreas Esau (ndee). The action's timing was getting messed up which resulted in negative local frames, which were being counted as "done."

8 years agoAvoid recursion in skin modifier's edge matrix calculations
Nicholas Bishop [Sun, 5 Aug 2012 23:29:50 +0000 (23:29 +0000)]
Avoid recursion in skin modifier's edge matrix calculations

This is a potential fix for bug [#32263] Instant Crash with Skin
modifier.

8 years agoAdd an array-based generic stack structure to blenlib
Nicholas Bishop [Sun, 5 Aug 2012 23:29:43 +0000 (23:29 +0000)]
Add an array-based generic stack structure to blenlib

Very simple stack with homogeneous contents. Provides push, pop, and
is-empty operations.

8 years agoFix for [#32270] "Removing a Character object from the scene causes a crash." reporte...
Mitchell Stokes [Sun, 5 Aug 2012 22:31:55 +0000 (22:31 +0000)]
Fix for [#32270] "Removing a Character object from the scene causes a crash." reported by me. The character's action wasn't being removed from the dynamics world when the character controller was.

8 years agoCOLLADA: report #32237 fixed Camera exporter and Importer to use correct camera...
Gaia Clary [Sun, 5 Aug 2012 21:35:09 +0000 (21:35 +0000)]
COLLADA: report #32237  fixed Camera exporter and Importer to use correct camera animation data

8 years agofix for transforming parented nodes, the node would check its parent was not transfor...
Campbell Barton [Sun, 5 Aug 2012 21:06:56 +0000 (21:06 +0000)]
fix for transforming parented nodes, the node would check its parent was not transformed, but in fact its parents parent could still be getting transformed still, also, the order of initializing transform data made this check unreliable.

fix for mingw broke from one of my own commits, changing header order fixes.

8 years agofix for crash when moving frames about in the node space, was possible to move a...
Campbell Barton [Sun, 5 Aug 2012 20:40:26 +0000 (20:40 +0000)]
fix for crash when moving frames about in the node space, was possible to move a node into its own child frame (causing recursive parent loop).

also some minor code cleanup.

8 years agofix for transforming parented nodes (parent relative offset wasn't taken into account)
Campbell Barton [Sun, 5 Aug 2012 20:16:14 +0000 (20:16 +0000)]
fix for transforming parented nodes (parent relative offset wasn't taken into account)

8 years agofix for crash when mask editing if there is an active point but no active spline.
Campbell Barton [Sun, 5 Aug 2012 18:12:34 +0000 (18:12 +0000)]
fix for crash when mask editing if there is an active point but no active spline.

8 years agouse define for 0.375 = GLA_PIXEL_OFS, used all over the interface.
Campbell Barton [Sun, 5 Aug 2012 17:27:52 +0000 (17:27 +0000)]
use define for 0.375 = GLA_PIXEL_OFS, used all over the interface.
also use M_SQRT1_2 in math_rotation.c

8 years agocode cleanup: minor edit - replace memset() with zero initialization, remove unneeded...
Campbell Barton [Sun, 5 Aug 2012 15:04:10 +0000 (15:04 +0000)]
code cleanup: minor edit - replace memset() with zero initialization, remove unneeded NULL check in ibuf_sample()

8 years agocode cleanup: remove redundant calls to CTX_data_main()
Campbell Barton [Sun, 5 Aug 2012 14:11:51 +0000 (14:11 +0000)]
code cleanup: remove redundant calls to CTX_data_main()

8 years agofix uninitialized memory use for mask feather points, also remove some double promotions.
Campbell Barton [Sun, 5 Aug 2012 13:26:39 +0000 (13:26 +0000)]
fix uninitialized memory use for mask feather points, also remove some double promotions.

8 years agoCOLLADA: #29058 Fixed crash when illegal reference to non existing camera object...
Gaia Clary [Sun, 5 Aug 2012 10:23:34 +0000 (10:23 +0000)]
COLLADA: #29058 Fixed crash when illegal reference to non existing camera object is found. And report a warning to the console)

8 years agoFix for keying screen incorrect memory write when some of tracks are disabled.
Sergey Sharybin [Sun, 5 Aug 2012 09:31:48 +0000 (09:31 +0000)]
Fix for keying screen incorrect memory write when some of tracks are disabled.

8 years agoFix [#32260] 'Select Sharp Edges' works vice versa
Bastien Montagne [Sun, 5 Aug 2012 07:50:51 +0000 (07:50 +0000)]
Fix [#32260] 'Select Sharp Edges' works vice versa

We want to select edges sharpest than the given threshold, i.e. which faces’s angle is below the limit! Looks like BMesh switched this somehow...

8 years agoBGE: Fixing a NULL pointer exception caused by calling KX_Scene.active_camera when...
Mitchell Stokes [Sun, 5 Aug 2012 07:01:08 +0000 (07:01 +0000)]
BGE: Fixing a NULL pointer exception caused by calling KX_Scene.active_camera when there is no camera in the scene.

8 years agoCOLLADA: fix for #32251. This seems to be compliant to the Collada 1.4.1 specification.
Gaia Clary [Sat, 4 Aug 2012 22:18:56 +0000 (22:18 +0000)]
COLLADA: fix for #32251. This seems to be compliant to the Collada 1.4.1 specification.

8 years agoCOLLADA: added initial support for ymag and yfov in importer. fixes issue #32237
Gaia Clary [Sat, 4 Aug 2012 21:25:19 +0000 (21:25 +0000)]
COLLADA: added initial support for ymag and yfov in importer. fixes issue #32237

8 years agofix a glitch where overlapping feathering could give random bad pixels, this was...
Campbell Barton [Sat, 4 Aug 2012 21:04:26 +0000 (21:04 +0000)]
fix a glitch where overlapping feathering could give random bad pixels, this was caused by feather edge going in a different direction to the mask edge - creating bowtie quads.

8 years agoWindows MSVC libraries:
Thomas Dinges [Sat, 4 Aug 2012 20:25:04 +0000 (20:25 +0000)]
Windows MSVC libraries:
* Some refactor, use set_lib_path macro again, which simplifies the code a bit.

8 years agoresolve some issues with curve resolution calculaction
Campbell Barton [Sat, 4 Aug 2012 20:17:22 +0000 (20:17 +0000)]
resolve some issues with curve resolution calculaction
- resolution could become so high that it would wrap around  to a negative number, now check for small numbers before doing float division.
- resolution was being calculated in some cases when it already met the clamp value - now this is skipped.

8 years agostyle cleanup
Campbell Barton [Sat, 4 Aug 2012 19:34:38 +0000 (19:34 +0000)]
style cleanup

8 years agostyle cleanup
Campbell Barton [Sat, 4 Aug 2012 12:54:27 +0000 (12:54 +0000)]
style cleanup

8 years agoCmake / Windows Libraries:
Thomas Dinges [Sat, 4 Aug 2012 12:43:45 +0000 (12:43 +0000)]
Cmake / Windows Libraries:
* Some more fixes for OpenEXR, works now (tested with cv2008 x64 and x32)
* Some more changes to have libs in lib/win*/libname/vc2010 folder. Commit to libs itself to change that will follow.

8 years agostyle cleanup
Campbell Barton [Sat, 4 Aug 2012 12:30:16 +0000 (12:30 +0000)]
style cleanup

8 years agoCode cleanup:
Thomas Dinges [Sat, 4 Aug 2012 11:42:38 +0000 (11:42 +0000)]
Code cleanup:
* Remove BSP_GhostTest, not used and working for ages, approved by Sergey.

8 years agoRevert part of r49504 by Genscher:
Thomas Dinges [Sat, 4 Aug 2012 11:39:16 +0000 (11:39 +0000)]
Revert part of r49504 by Genscher:
* MSVC Paths were put into the MinGW block, so Mingw did not work anymore.
* Also fix paths for vc2010 libs now, so they should work now with cmake.

8 years agoCamera tracking presets
Sergey Sharybin [Sat, 4 Aug 2012 10:47:31 +0000 (10:47 +0000)]
Camera tracking presets

- Fix for copy default settings from active track operator
- Add meaningful tracking presets

API changes:

- Added parameter exact to Marker.find_frame, so now it's
  possible to get estimated marker

- Added Marker.pattern_bound_box to get pattern's bound box

8 years agocode cleanup: use camelcase for struct name.
Campbell Barton [Fri, 3 Aug 2012 23:44:50 +0000 (23:44 +0000)]
code cleanup: use camelcase for struct name.