blender.git
7 years agonew scaling options to scale footage without stretching - add stretch/fit/crop to...
Campbell Barton [Thu, 14 Jun 2012 16:55:55 +0000 (16:55 +0000)]
new scaling options to scale footage without stretching - add stretch/fit/crop to compositor scale node, default behavior isnt changed.

this is only added for the old compositor, will add to the new compositor next.

7 years agostyle cleanup
Campbell Barton [Thu, 14 Jun 2012 16:15:37 +0000 (16:15 +0000)]
style cleanup

7 years agorevert own commits 47907, 47908 after some discussion this is really bad and needs...
Campbell Barton [Thu, 14 Jun 2012 16:13:09 +0000 (16:13 +0000)]
revert own commits 47907, 47908 after some discussion this is really bad and needs some different solution.

7 years agochange to scale node - multiply scale by scene size, without this theres no reliable...
Campbell Barton [Thu, 14 Jun 2012 15:04:40 +0000 (15:04 +0000)]
change to scale node - multiply scale by scene size, without this theres no reliable way to match different scaled footage to an output and still have useful preview's at <100 percentage.

7 years agoCollada: cleanup sort function for
Gaia Clary [Thu, 14 Jun 2012 14:48:52 +0000 (14:48 +0000)]
Collada: cleanup sort function for

7 years agofix a nullpointer exception when data missing in dae file
Gaia Clary [Thu, 14 Jun 2012 14:47:41 +0000 (14:47 +0000)]
fix a nullpointer exception when data missing in dae file

7 years ago* Add RNA comment for Lamp icon defines.
Thomas Dinges [Thu, 14 Jun 2012 14:04:55 +0000 (14:04 +0000)]
* Add RNA comment for Lamp icon defines.

7 years agoInterface:
Thomas Dinges [Thu, 14 Jun 2012 14:02:15 +0000 (14:02 +0000)]
Interface:
* Rename "Clear Game Property" to "Rename Game Properties", because the operator deletes all game properties from all selected object(s), not only one.

This fixes [#31828], patch by Philipp Oeser.

7 years agoBugfix for [#31829] Add lamp icons missing. Patch by Philipp Oeser.
Thomas Dinges [Thu, 14 Jun 2012 13:54:55 +0000 (13:54 +0000)]
Bugfix for [#31829] Add lamp icons missing. Patch by Philipp Oeser.

Note: If you do code cleanups, and revert make sure you revert it correct and not halfway. ;-) r47034

7 years agoBlender is using tabs, not spaces for indentation
Sergey Sharybin [Thu, 14 Jun 2012 13:48:04 +0000 (13:48 +0000)]
Blender is using tabs, not spaces for indentation

7 years agoDisable fixed-sized specializations for schur solver
Sergey Sharybin [Thu, 14 Jun 2012 13:33:37 +0000 (13:33 +0000)]
Disable fixed-sized specializations for schur solver

As far as i remember Keir, this should be safe for our usages of ceres
and it should save noticeable amount of time and used memory when
compiling blender with libmv support.

Quick tests with tracking went smooth after this.

7 years agoKaying node from tomato branch
Sergey Sharybin [Thu, 14 Jun 2012 12:19:13 +0000 (12:19 +0000)]
Kaying node from tomato branch

Merge keying node from tomato branch into trunk.

It was considered stable and helpful by Mango team and it'll help
studio pipeline, because nodes would stop disappearing when opening
files in current trunk.

Full information about keying nodes could be found there:
http://wiki.blender.org/index.php/User:Nazg-gul/Keying

7 years agoKeying Screen node from tomato branch
Sergey Sharybin [Thu, 14 Jun 2012 12:18:42 +0000 (12:18 +0000)]
Keying Screen node from tomato branch

Merge Keying Screen node developed in tomato branch into trunk.

This node is aimed to make dealing with non-even greenscreens better
by generating gradiented image which could be used a input for keyer
nodes.

Based on building voronoi diagram using motion tracking markers as
sites position and average pattern color as color for that site.

Pretty straignforward node, some documentation is there
http://wiki.blender.org/index.php/User:Nazg-gul/Keying#Screen_color

7 years agofix for years old bug - OpenEXR always adding alpha channel on load (how did nobody...
Campbell Barton [Thu, 14 Jun 2012 12:05:38 +0000 (12:05 +0000)]
fix for years old bug - OpenEXR always adding alpha channel on load (how did nobody notice this?).

7 years agocode cleanup: zbuf/alpha exr writing
Campbell Barton [Thu, 14 Jun 2012 11:44:05 +0000 (11:44 +0000)]
code cleanup: zbuf/alpha exr writing

7 years agoComment numberoffilters in constructor too.
Sergey Sharybin [Thu, 14 Jun 2012 11:26:46 +0000 (11:26 +0000)]
Comment numberoffilters in constructor too.
Otherwise it'll for sure give compilation error.

7 years agocomment unused vars
Campbell Barton [Thu, 14 Jun 2012 11:05:15 +0000 (11:05 +0000)]
comment unused vars

7 years agoquiet compiler warning
Campbell Barton [Thu, 14 Jun 2012 10:54:14 +0000 (10:54 +0000)]
quiet compiler warning

7 years agoCollada: Added export Option 'sort by object name' to fix an issue with Second Life...
Gaia Clary [Thu, 14 Jun 2012 10:38:39 +0000 (10:38 +0000)]
Collada: Added export Option 'sort by object name' to fix an issue with Second Life import

7 years agoresolutions were not propagated correctly.
Jeroen Bakker [Thu, 14 Jun 2012 10:21:53 +0000 (10:21 +0000)]
resolutions were not propagated correctly.

7 years agominor change to r47872, multiply both values as unsigned ints before converting to...
Campbell Barton [Thu, 14 Jun 2012 10:03:23 +0000 (10:03 +0000)]
minor change to r47872, multiply both values as unsigned ints before converting to float.

7 years agodisabled some flags :)
Jeroen Bakker [Thu, 14 Jun 2012 09:42:17 +0000 (09:42 +0000)]
disabled some flags :)

7 years agoRemoved the actual data type concept as it was never used.
Jeroen Bakker [Thu, 14 Jun 2012 09:41:41 +0000 (09:41 +0000)]
Removed the actual data type concept as it was never used.

7 years agostyle cleanup
Campbell Barton [Thu, 14 Jun 2012 09:40:36 +0000 (09:40 +0000)]
style cleanup

7 years agoCyles UI:
Thomas Dinges [Thu, 14 Jun 2012 08:58:23 +0000 (08:58 +0000)]
Cyles UI:
* Alignment fix for the "Samples" panel, this way both columns are aligned nicely.

7 years agoCompositor Compile Fix (Windows):
Thomas Dinges [Thu, 14 Jun 2012 08:53:37 +0000 (08:53 +0000)]
Compositor Compile Fix (Windows):
* sqrtf only takes floats as arguments.

7 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.

7 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.

7 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

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

7 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

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

7 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

7 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)

7 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.

7 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.

7 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.

7 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

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

7 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.

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

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

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

7 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).

7 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.

7 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.

7 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.

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

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

7 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)

7 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

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

7 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).

7 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

7 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.

7 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.

7 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

7 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.

7 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.

7 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.

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

7 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.

7 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

7 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.

7 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.

7 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.

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

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

7 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

7 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()

7 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)

7 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()

7 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

7 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.

7 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

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

7 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.

7 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

7 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

7 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.

7 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.

7 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.

7 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.

7 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

7 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.

7 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
panel.

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.

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

7 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

7 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! ;) )

7 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).

7 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

7 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.

7 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.

7 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

7 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

7 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().

7 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.

7 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?

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

7 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.