9 years agoKX_RadarSensor.getConeHeight() not longer exists, removing it from the docs.
Mitchell Stokes [Thu, 14 Jun 2012 08:02:45 +0000 (08:02 +0000)]
KX_RadarSensor.getConeHeight() not longer exists, removing it from the docs.

9 years agoFix for [#31813] "bge.types.KX_RadarSensor incorrect attributes" reported by Monster.
Mitchell Stokes [Thu, 14 Jun 2012 08:01:20 +0000 (08:01 +0000)]
Fix for [#31813] "bge.types.KX_RadarSensor incorrect attributes" reported by Monster.

KX_RadarSensor.angle was returning the angle that was used to construct Bullet's physics shape, which is calculated from the logic brick gui. KX_RadarSensor.angle now recalculates the original value from the gui. However, m_coneradius isn't actually used by KX_RadarSensor that I can see, so it might be better to just assign the original angle to m_coneradius instead of the calculated value. I've also made KX_RadarSensor.angle read-only, since setting m_coneradius does not appear to have any affect, which means writing to KX_RadarSensor.angle never worked properly.

9 years agoSequencer Drag & Drop -- disallow dropping on sequences for the current drop_poll...
Dan Eicher [Thu, 14 Jun 2012 04:57:42 +0000 (04:57 +0000)]
Sequencer Drag & Drop -- disallow dropping on sequences for the current drop_poll functions

9 years agoFixed glares
Jeroen Bakker [Thu, 14 Jun 2012 03:11:36 +0000 (03:11 +0000)]
Fixed glares

9 years ago Matched FogGlow with old implementation
Jeroen Bakker [Thu, 14 Jun 2012 01:32:45 +0000 (01:32 +0000)]
 Matched FogGlow with old implementation

9 years agostule cleanup: node headers
Campbell Barton [Wed, 13 Jun 2012 23:31:47 +0000 (23:31 +0000)]
stule cleanup: node headers

9 years ago[#26630] Several problems with API constraint_orientation
Dan Eicher [Wed, 13 Jun 2012 23:04:32 +0000 (23:04 +0000)]
[#26630] Several problems with API constraint_orientation

Added a check to TRANSFORM_OT_create_orientation so it throws an exception instead of crashing blender (due to invalid view3d)

Can still create an orientation from the console just can't set it to active with the 'use' parameter

9 years agoimage sample line now updates with the compositor changes (mango request)
Campbell Barton [Wed, 13 Jun 2012 22:38:31 +0000 (22:38 +0000)]
image sample line now updates with the compositor changes (mango request)

9 years agosimple assignments added to pre-processor temporary section of function to avoid...
Peter Larabell [Wed, 13 Jun 2012 21:37:39 +0000 (21:37 +0000)]
simple assignments added to pre-processor temporary section of function to avoid unused argument compiler warnings.

9 years agoadd Anti-Aliasing (very rough draft algorithm, NOT FINAL version) to raskter lib...
Peter Larabell [Wed, 13 Jun 2012 19:57:23 +0000 (19:57 +0000)]
add Anti-Aliasing (very rough draft algorithm, NOT FINAL version) to raskter lib. Code is still quite messy but will be replaced when final algo comes in anyway.

9 years agofix [#31819] New Compositor Ommits 'Composite' layer
Campbell Barton [Wed, 13 Jun 2012 19:43:09 +0000 (19:43 +0000)]
fix [#31819] New Compositor Ommits 'Composite' layer

the bug was introduced by accident in r47826, finishing a render node acted as if escape was pressed.

also changed order of signaling and releasing the buffer to match the old compositor.

9 years agofix: [#31684] Collada, add file extension automatically does not work
Gaia Clary [Wed, 13 Jun 2012 19:10:52 +0000 (19:10 +0000)]
fix: [#31684] Collada, add file extension automatically does not work

9 years agostyle cleanup
Campbell Barton [Wed, 13 Jun 2012 19:07:09 +0000 (19:07 +0000)]
style cleanup

9 years agoFix issue with missing emission in non-progressive integrator.
Brecht Van Lommel [Wed, 13 Jun 2012 17:34:47 +0000 (17:34 +0000)]
Fix issue with missing emission in non-progressive integrator.

9 years agostyle cleanup
Campbell Barton [Wed, 13 Jun 2012 17:27:49 +0000 (17:27 +0000)]
style cleanup

9 years agostyle cleanup
Campbell Barton [Wed, 13 Jun 2012 17:23:44 +0000 (17:23 +0000)]
style cleanup

9 years agoCycles:
Thomas Dinges [Wed, 13 Jun 2012 16:15:42 +0000 (16:15 +0000)]
* "preview_aa_samples" minimum should be 0, not 1.

9 years agopatch [#31574] Screw seams to not work
Campbell Barton [Wed, 13 Jun 2012 16:06:13 +0000 (16:06 +0000)]
patch [#31574] Screw seams to not work
from Benoit Donat-Bouillud (ladeheria)

from tracker -
  When using a screw axis (reference edge for screw), the operation always give the same result (as if the orientation of the reference edge was not take into account).

9 years agoFix #31754: strand width fade value 2.0 gives wrong result, should fade out
Brecht Van Lommel [Wed, 13 Jun 2012 15:33:59 +0000 (15:33 +0000)]
Fix #31754: strand width fade value 2.0 gives wrong result, should fade out
strand entirely. Fix based on patch by Philipp Oeser.

9 years agomove one line color conversion functions to be inline.
Campbell Barton [Wed, 13 Jun 2012 15:13:19 +0000 (15:13 +0000)]
move one line color conversion functions to be inline.

9 years agoadd rgb_to_luma_y(), was being done inline in many places.
Campbell Barton [Wed, 13 Jun 2012 15:05:42 +0000 (15:05 +0000)]
add rgb_to_luma_y(), was being done inline in many places.

9 years agostyle cleanup
Campbell Barton [Wed, 13 Jun 2012 14:33:50 +0000 (14:33 +0000)]
style cleanup

9 years agoCycles:
Thomas Dinges [Wed, 13 Jun 2012 14:18:42 +0000 (14:18 +0000)]
* UI Tooltip fix.

9 years agoadded mask tool to recalculate handles (Ctrl+N)
Campbell Barton [Wed, 13 Jun 2012 14:09:20 +0000 (14:09 +0000)]
added mask tool to recalculate handles (Ctrl+N)

9 years agofix for incorrectly checking for break in r47826
Campbell Barton [Wed, 13 Jun 2012 14:01:28 +0000 (14:01 +0000)]
fix for incorrectly checking for break in r47826

9 years agostyle cleanup
Campbell Barton [Wed, 13 Jun 2012 13:59:46 +0000 (13:59 +0000)]
style cleanup

9 years agoapply offset to the camera view - this works exactly like camera shift (transforms...
Campbell Barton [Wed, 13 Jun 2012 13:23:48 +0000 (13:23 +0000)]
apply offset to the camera view - this works exactly like camera shift (transforms X/Y in the same space).

9 years agoframing options for camera background image: stretch/fit/crop
Campbell Barton [Wed, 13 Jun 2012 12:58:01 +0000 (12:58 +0000)]
framing options for camera background image: stretch/fit/crop

9 years ago * optimized threading
Jeroen Bakker [Wed, 13 Jun 2012 12:34:56 +0000 (12:34 +0000)]
 * optimized threading
 * break out with glare node
 * Added OpenCL kernels compatible with AMD still need some testing.

9 years agoCycles: first step for implementation of non-progressive sampler that handles
Brecht Van Lommel [Wed, 13 Jun 2012 11:44:48 +0000 (11:44 +0000)]
Cycles: first step for implementation of non-progressive sampler that handles
direct and indirect lighting differently. Rather than picking one light for each
point on the path, it now loops over all lights for direct lighting. For indirect
lighting it still picks a random light each time.

It gives control over the number of AA samples, and the number of Diffuse, Glossy,
Transmission, AO, Mesh Light, Background and Lamp samples for each AA sample.

This helps tuning render performance/noise and tends to give less noise for renders
dominated by direct lighting.

This sampling mode only works on the CPU, and still needs proper tile rendering
to show progress (will follow tommorrow or so), because each AA sample can be quite
slow now and so the delay between each update wil be too long.

9 years agoupdate themes for new colors, patch by Brendon Murphy
Campbell Barton [Wed, 13 Jun 2012 11:40:49 +0000 (11:40 +0000)]
update themes for new colors, patch by Brendon Murphy

9 years agoFix cycles crash when viewport camera border goes out of view.
Brecht Van Lommel [Wed, 13 Jun 2012 11:25:36 +0000 (11:25 +0000)]
Fix cycles crash when viewport camera border goes out of view.

9 years agoFix cycles object_flag array being allocated too big.
Brecht Van Lommel [Wed, 13 Jun 2012 11:25:22 +0000 (11:25 +0000)]
Fix cycles object_flag array being allocated too big.

9 years agoalways use bicubic sampler for the scale node with the new compositor since it worked...
Campbell Barton [Wed, 13 Jun 2012 10:35:41 +0000 (10:35 +0000)]
always use bicubic sampler for the scale node with the new compositor since it worked like this in the old compositor.

this ignores the sampler passed and could be done in a nicer way so left this as an ifdef so it can be easily redone.

9 years agostyle cleanup: scale node
Campbell Barton [Wed, 13 Jun 2012 10:03:39 +0000 (10:03 +0000)]
style cleanup: scale node

9 years agomango request
Campbell Barton [Wed, 13 Jun 2012 08:35:50 +0000 (08:35 +0000)]
mango request
- highlight active mask layers.
- remove keyframes when all layer data is removed.

9 years agotint non-active mask layers grey
Campbell Barton [Wed, 13 Jun 2012 08:20:43 +0000 (08:20 +0000)]
tint non-active mask layers grey

9 years agoFix #31780, cycles nested group rendering broken. Was using the dupli object 'index...
Lukas Toenne [Wed, 13 Jun 2012 08:10:59 +0000 (08:10 +0000)]
Fix #31780, cycles nested group rendering broken. Was using the dupli object 'index' member to identify dupli objects, but this is not unique and in fact just 0 in most cases. Needs to use a simple dupli list counter instead.

9 years agocode cleanup: use const float's where possible and specify vector size.
Campbell Barton [Tue, 12 Jun 2012 23:19:52 +0000 (23:19 +0000)]
code cleanup: use const float's where possible and specify vector size.

9 years agoCollada: fixed a few loops to only loop over the list of exported objects, instead...
Gaia Clary [Tue, 12 Jun 2012 23:19:34 +0000 (23:19 +0000)]
Collada: fixed a few loops to only loop over the list of exported objects, instead of the current scene.

9 years agofix code style cleanup
Gaia Clary [Tue, 12 Jun 2012 23:01:43 +0000 (23:01 +0000)]
fix code style cleanup

9 years agostyle cleanup
Campbell Barton [Tue, 12 Jun 2012 22:05:33 +0000 (22:05 +0000)]
style cleanup

9 years agoDefault value for frame offset should be 0
Sergey Sharybin [Tue, 12 Jun 2012 21:29:15 +0000 (21:29 +0000)]
Default value for frame offset should be 0

9 years agopatch #31794 Collada: make exporter more robust, now uses BKE_object_relational_super...
Gaia Clary [Tue, 12 Jun 2012 21:25:29 +0000 (21:25 +0000)]
patch #31794 Collada: make exporter more robust, now uses BKE_object_relational_superset()

9 years agoAdded frame offset slider to clip datablocks
Sergey Sharybin [Tue, 12 Jun 2012 21:25:23 +0000 (21:25 +0000)]
Added frame offset slider to clip datablocks

In contrast to start_frame (which affects on where footage actually
starts to play and also affects on all data associated with a clip
such as motion tracking, reconstruction and so on) this slider only
affects on a way how frame number is mapping to a filename, without
touching any kind of tracking data.

The formula is:
  file_name = clip_file_name + frame_offset - (start_frame - 1)

9 years agopatch #31794 Added new function BKE_object_relational_superset()
Gaia Clary [Tue, 12 Jun 2012 21:23:51 +0000 (21:23 +0000)]
patch #31794 Added new function BKE_object_relational_superset()

9 years agoFix camera curve in clip editor not being remapped by a clip's start frame
Sergey Sharybin [Tue, 12 Jun 2012 21:07:14 +0000 (21:07 +0000)]
Fix camera curve in clip editor not being remapped by a clip's start frame

9 years agoyse BLI_math for the compositor in more places.
Campbell Barton [Tue, 12 Jun 2012 20:04:55 +0000 (20:04 +0000)]
yse BLI_math for the compositor in more places.

9 years agofix: Collada build warning about inconsistent usage of Camera structure/class
Gaia Clary [Tue, 12 Jun 2012 19:37:30 +0000 (19:37 +0000)]
fix: Collada build warning about inconsistent usage of Camera structure/class

9 years agoCycles:
Thomas Dinges [Tue, 12 Jun 2012 19:04:12 +0000 (19:04 +0000)]
* Add back a break, which was deleted in r47773.

9 years agoremove input socket of mask node, this wasnt used.
Campbell Barton [Tue, 12 Jun 2012 18:36:49 +0000 (18:36 +0000)]
remove input socket of mask node, this wasnt used.

9 years agoMinor fix [#31798] [minor] simpledeform modifier tooltip
Bastien Montagne [Tue, 12 Jun 2012 18:35:36 +0000 (18:35 +0000)]
Minor fix [#31798] [minor] simpledeform modifier tooltip

9 years agoAdded Selected Only and Show Hidden flags to clip editor's curve view
Sergey Sharybin [Tue, 12 Jun 2012 17:11:16 +0000 (17:11 +0000)]
Added Selected Only and Show Hidden flags to clip editor's curve view

9 years agoSome Clip Editor interface clean-ups:
Sergey Sharybin [Tue, 12 Jun 2012 17:11:00 +0000 (17:11 +0000)]
Some Clip Editor interface clean-ups:

- Display track's reprojection error in dopesheet
- Make sure track is selected when clicking on dopesheet channel
- Attempt to make headers a bit cleaner without long labels which
  doesn't actually make sense.

9 years agoAdded options to display only selected tracks and show hidden tracks
Sergey Sharybin [Tue, 12 Jun 2012 17:10:47 +0000 (17:10 +0000)]
Added options to display only selected tracks and show hidden tracks
in motion tracking dopesheet view.

By default all channels are displaying now.

9 years agoMake dopesheet settings per-tracking data
Sergey Sharybin [Tue, 12 Jun 2012 17:10:24 +0000 (17:10 +0000)]
Make dopesheet settings per-tracking data

It was a bit confusing to synchronize settings used in pre-calculated
dopesheet channels which was storing in tracking data with settings
used for display which is in space data.

This was initially done by converting one flags to other and checking
if space's settings matches pre-calculated one, but that had several
issues if two different dopesheet are using different settings:

- Channels would be re-calculated on every redraw for each of spaces
- Dopesheet operators could fail due to the could be using  channels
  calculated for other space.

That was also quite nasty code checking if requested settings matches
pre-calculated one.

9 years agoTracking dopesheet's scrollbat now updates to channels number nicely.
Sergey Sharybin [Tue, 12 Jun 2012 14:59:36 +0000 (14:59 +0000)]
Tracking dopesheet's scrollbat now updates to channels number nicely.

9 years agoNaming + Style tweaks for newly added flag for Action Constraint
Joshua Leung [Tue, 12 Jun 2012 11:54:31 +0000 (11:54 +0000)]
Naming + Style tweaks for newly added flag for Action Constraint

Old names used could conflict with other things too easily in future

9 years agoDecrease frequency of mallocs during multires sculpt smoothing
Nicholas Bishop [Tue, 12 Jun 2012 11:22:10 +0000 (11:22 +0000)]
Decrease frequency of mallocs during multires sculpt smoothing

Patch from Jason Wilkins.

Creates a pool of allocations (one for each OpenMP thread) rather than
allocating every time do_multires_smooth_brush() is called.

9 years agoMasking support for motion tracks
Sergey Sharybin [Tue, 12 Jun 2012 11:13:53 +0000 (11:13 +0000)]
Masking support for motion tracks

Added option to use Grease Pencil datablock as a mask for pattern
when doing motion tracking. Option could be found in Tracking Settings

All strokes would be rasterized separately from each other and every
stroke is treating as a closed spline.

Also added option to apply a mask on track preview which is situated
just after B/B/W channel button under track preview.

9 years agooptimize jpeg2000 loading.
Campbell Barton [Tue, 12 Jun 2012 08:50:40 +0000 (08:50 +0000)]
optimize jpeg2000 loading.

9 years agoModification of node groups by adding/removing nodes is not possible yet. This patch...
Lukas Toenne [Tue, 12 Jun 2012 08:44:46 +0000 (08:44 +0000)]
Modification of node groups by adding/removing nodes is not possible yet. This patch extends the 'Make Group' operator and adds a new 'Separate' operator to add such functionality.

1) For inserting into existing groups:
  The 'Make Group from selected' (CTRL+g) operator shows a selection popup (like the object parenting operator), with options depending on the type of the active node (last selected):
  * "New" -> regular operator, creates new group type with all selected nodes inside.
  * "Insert" (only if active node is a group) -> adds all other selected nodes into the group.

  Currently still prohibits groups inside groups in general, though would be technically possible as long as no actual recursion occurs (group containing itself).

2) For extracting from an existing group:
  New 'Separate from group' operator (p), works similar to separating vertices/edges/faces from mesh. Two modes:
  * "Copy" makes a copy of the nodes in the parent tree, but keeps the original group intact.
  * "Move" removes selected nodes from the node group and adds them to the parent tree

9 years agoFew minors style and type fixes (and a nice, harmless copy/paste error! ;) )
Bastien Montagne [Tue, 12 Jun 2012 08:32:06 +0000 (08:32 +0000)]
Few minors style and type fixes (and a nice, harmless copy/paste error! ;) )

9 years agoReroute node socket types update automatically from connections when possible. This...
Lukas Toenne [Tue, 12 Jun 2012 08:28:25 +0000 (08:28 +0000)]
Reroute node socket types update automatically from connections when possible. This prevents unnecessary conversions and breaking connections when linking incompatible types to the reroute color sockets (point in case: cycles shaders).

9 years agooptimize jpeg2000 saving
Campbell Barton [Tue, 12 Jun 2012 08:10:34 +0000 (08:10 +0000)]
optimize jpeg2000 saving
- expand loops to avoid checks for each iteration
- use unsigned ints for looping over pixels
- use inline functions for color conversion

9 years agoFix #31675 Reroute nodes aren't working for cycles.
Lukas Toenne [Tue, 12 Jun 2012 07:27:50 +0000 (07:27 +0000)]
Fix #31675 Reroute nodes aren't working for cycles.

Note that currently the reroute nodes are hardcoded to color values, which means they will not work for shader type connections (and possibly cause overhead for float and vector conversion). Looking into a solution.

9 years ago"Fix" for [#30704] Action Constraint mapping bug
Bastien Montagne [Tue, 12 Jun 2012 06:22:23 +0000 (06:22 +0000)]
"Fix" for [#30704] Action Constraint mapping bug

Feature request rather than a real bug: allow constrained bone to use "object" part of the linked action, in addition to "same-named bone" part.

9 years ago * FIX for
Jeroen Bakker [Tue, 12 Jun 2012 04:23:21 +0000 (04:23 +0000)]
 * FIX for
   - [#31777] Border Crop gives black
   - [#31768] Crash when connecting a Math node to a translate node in Tiles comp
   - [#31638] View node in new node compo system crashes when inside a group
 * make sure a very fast vignette can be made by using a EliipseMask + Fast Gaussian blur

9 years agofix for using freed memory with mask point slide
Campbell Barton [Mon, 11 Jun 2012 20:58:16 +0000 (20:58 +0000)]
fix for using freed memory with mask point slide
-- This line, and those below, will be ignored--

M    source/blender/editors/mask/mask_ops.c

9 years agofix for crash drawing grease pencil attached to a tracking marker.
Campbell Barton [Mon, 11 Jun 2012 20:50:57 +0000 (20:50 +0000)]
fix for crash drawing grease pencil attached to a tracking marker.
also fix for use of uninitialized variable for ED_clip_point_undistorted_pos().

9 years agosafety check when making a node local- make sure its already in the node tree.
Campbell Barton [Mon, 11 Jun 2012 19:12:45 +0000 (19:12 +0000)]
safety check when making a node local- make sure its already in the node tree.

9 years agoFixing first part of [#31760] Assignments not working properly for Object.dimensions
Bastien Montagne [Mon, 11 Jun 2012 18:58:34 +0000 (18:58 +0000)]
Fixing first part of [#31760] Assignments not working properly for Object.dimensions

Problem was in fact that non-linear-contiguous axis assignement was broken (i.e. location.xy would work as expected, but location.xz would only affect .x part)... Now all possibilities should work fine.

Did not try to fix the problem specific to obj.dimension (when assigning multiple times to this array, only the last one is taken into account - in fact, a simple print() shows that assigning to dimension is not taken into account immediately), not sure whether this is normal behavior, or if we need a specific "update" of some kind for this prop?

9 years agorna read/write access to ...
Campbell Barton [Mon, 11 Jun 2012 18:43:48 +0000 (18:43 +0000)]
rna read/write access to ...

9 years agominor changes to jpeg2k saving based on reading v1.5 source examples.
Campbell Barton [Mon, 11 Jun 2012 18:43:16 +0000 (18:43 +0000)]
minor changes to jpeg2k saving based on reading v1.5 source examples.

9 years agoadd missing node RNA booleans.
Campbell Barton [Mon, 11 Jun 2012 18:16:26 +0000 (18:16 +0000)]
add missing node RNA booleans.

9 years agoAdd user preference "GPU Mipmap Generation" under the System/OpenGL
Antony Riakiotakis [Mon, 11 Jun 2012 16:23:10 +0000 (16:23 +0000)]
Add user preference "GPU Mipmap Generation" under the System/OpenGL
subpanel to calculate image mipmapping on the GPU, saving upload and
calculation time. Default is off just in case.

9 years agoFix for node 'make group' operator in combination with frame nodes. When a selected...
Lukas Toenne [Mon, 11 Jun 2012 15:28:45 +0000 (15:28 +0000)]
Fix for node 'make group' operator in combination with frame nodes. When a selected node is attached to an unselected frame, the parent pointer would end up pointing to a different ID data block.

9 years agoFix compilation of new tracker for MinGW/MinGW64
Antony Riakiotakis [Mon, 11 Jun 2012 13:00:35 +0000 (13:00 +0000)]
Fix compilation of new tracker for MinGW/MinGW64

9 years agominor fixes
Campbell Barton [Mon, 11 Jun 2012 12:13:41 +0000 (12:13 +0000)]
minor fixes
- new compositor could use uninitialized var
- profile conversion could use uninitialized var
- set better warnings for clang+cmake.
- remove picky warnings from sphinx doc gen shell script.

9 years agoDraw grease pencil after masks
Sergey Sharybin [Mon, 11 Jun 2012 11:54:16 +0000 (11:54 +0000)]
Draw grease pencil after masks

Looks like drawing grease pencil before masks was affecting projection matrix
somehow which made masks invisible

Anyway, drawing GP actually shall happen after masks to match how it works
in other areas.

9 years agoScale search area when doing planar tracking
Sergey Sharybin [Mon, 11 Jun 2012 11:40:54 +0000 (11:40 +0000)]
Scale search area when doing planar tracking

Helps keeping features tracked when there's large scale happens
without need to manually re-adjust search area.

Currently using factor of pattern's boundbox scale, but probably
could be done in more accurate way?

9 years agoFixed issue with disappearing Clip/Track menu from GP panel in Clip Editor
Sergey Sharybin [Mon, 11 Jun 2012 11:40:36 +0000 (11:40 +0000)]
Fixed issue with disappearing Clip/Track menu from GP panel in Clip Editor
caused by switching to Track GP without having active track.

9 years agoCosmetic fixes
Joshua Leung [Mon, 11 Jun 2012 11:11:11 +0000 (11:11 +0000)]
Cosmetic fixes
* PoseBone struct didn't have an icon
* Comment fixes (stil referenced IPO's)

9 years agoFix invalid array index in armature_deform_verts().
Nicholas Bishop [Mon, 11 Jun 2012 11:00:58 +0000 (11:00 +0000)]
Fix invalid array index in armature_deform_verts().

Check that the def_nr is non-negative before using as index.

Fixes bug [#31700] Crash when opening .blend file on 64bit environment

9 years agoAdd missing/incorrect selection flushes.
Nicholas Bishop [Mon, 11 Jun 2012 10:14:46 +0000 (10:14 +0000)]
Add missing/incorrect selection flushes.

Added selection flush after loop cut, changed select_linked_pick's
flush to use the em selection flag.

Fixes bug [#31715] Cases where verts and edges are selected but not
relevant faces

9 years agotemplate for python node operators
Campbell Barton [Mon, 11 Jun 2012 10:11:31 +0000 (10:11 +0000)]
template for python node operators

9 years agoFix incorrectly deleted elements in array modifier caps.
Nicholas Bishop [Mon, 11 Jun 2012 09:41:08 +0000 (09:41 +0000)]
Fix incorrectly deleted elements in array modifier caps.

Add check for merging vertices into vertices that are themselves
marked for merge, was already done for array eleements but not end

Fixes bug [#31695] Array Modifier: End Cap fails if all vertices are merged

Also corrected some reversed assert arguments.

9 years agoupdates to context docs and add missing member to node context 'node_context_dir'.
Campbell Barton [Mon, 11 Jun 2012 09:24:25 +0000 (09:24 +0000)]
updates to context docs and add missing member to node context 'node_context_dir'.

9 years agoUI messages fixes...
Bastien Montagne [Mon, 11 Jun 2012 09:05:17 +0000 (09:05 +0000)]
UI messages fixes...

9 years agoFix applying object transform to multires objects.
Nicholas Bishop [Mon, 11 Jun 2012 08:37:35 +0000 (08:37 +0000)]
Fix applying object transform to multires objects.

Bug [#31785] Applying a transform to an object with multires weird result

Was reading interleaved coord/mask data incorrectly since paint mask
merge. Fixed by using two separate CCGKeys.

Some additional code cleanup: deduplicate multires tangent matrix

9 years ago * Blur node had some irregularities at the edge of the screen
Jeroen Bakker [Mon, 11 Jun 2012 08:28:04 +0000 (08:28 +0000)]
 * Blur node had some irregularities at the edge of the screen
 only visible when doing large size blurs.
 also solved the catcom/mitch filter that didn't work at low/medium quality

 PS never use BokehBlur Gausian filter as it is 99%+ identicat as non bokeh <= top for sergey- :)

9 years agofix for crashes in smooth-curves and clean-curves fcurve operators - missing NULL...
Campbell Barton [Mon, 11 Jun 2012 08:15:37 +0000 (08:15 +0000)]
fix for crashes in smooth-curves and clean-curves fcurve operators - missing NULL checks.

9 years agoMove all marker placement into a single omp critical section
Sergey Sharybin [Mon, 11 Jun 2012 08:06:42 +0000 (08:06 +0000)]
Move all marker placement into a single omp critical section
Could give small speadup.

9 years agoquiet 'unused' warning.
Campbell Barton [Mon, 11 Jun 2012 06:51:01 +0000 (06:51 +0000)]
quiet 'unused' warning.

9 years agoBugfix [#27886] Transform constraint maps wrongly with negative scale
Joshua Leung [Mon, 11 Jun 2012 05:05:05 +0000 (05:05 +0000)]
Bugfix [#27886] Transform constraint maps wrongly with negative scale

AFAIK, it is impossible to determine exactly which axes may have negative
scaling values from a 4x4 matrix (which is the underlying cause of this bug).
However, we can figure out if there is some negative scaling going on in that
matrix (i.e. one of the axes has negative scale). So, the fix here is to
negatively scale everything if we detect this happening.

WARNING: do not rely on being able to accurately detecting positive/negative
values for more than a single axis per bone controller. Weird results may occur.
You have been warned.

9 years agoBugfix [#31766] Mouseover Label reads 'Alt Left Arrow' when over the right
Joshua Leung [Mon, 11 Jun 2012 04:34:59 +0000 (04:34 +0000)]
Bugfix [#31766] Mouseover Label reads 'Alt Left Arrow' when over the right

Patch by Philipp Oeser

9 years agoBugfix [#28962] Changing actions via undo/delete all keyframes lacks UI refresh
Joshua Leung [Mon, 11 Jun 2012 04:13:39 +0000 (04:13 +0000)]
Bugfix [#28962] Changing actions via undo/delete all keyframes lacks UI refresh

Slightly hacky fix to get updates working for Action Editor header when there
are changes of the active action (via undo and/or deleting all keyframes at
once). Since the action referenced by the editor only gets updated when anim
channel filtering (e.g. as a result of the channel syncing operation) is
invoked. Added comments noting where these updates actually occur

9 years agoBugfix: Crash in Sequencer when trying to undo after using Grease Pencil
Joshua Leung [Mon, 11 Jun 2012 03:03:36 +0000 (03:03 +0000)]
Bugfix: Crash in Sequencer when trying to undo after using Grease Pencil

Grease Pencil data was not getting correctly relinked after file reload (for

9 years agoSVN maintenance.
Guillermo S. Romero [Mon, 11 Jun 2012 02:29:25 +0000 (02:29 +0000)]
SVN maintenance.

9 years agoCommented out expand_bones(), as this wasn't actually doing anything other than
Joshua Leung [Mon, 11 Jun 2012 02:23:26 +0000 (02:23 +0000)]
Commented out expand_bones(), as this wasn't actually doing anything other than
wasting time traversing the list of bones in the Armature