Commit Graph

49420 Commits

Author SHA1 Message Date
Campbell Barton
5049331755 style cleanup 2012-06-13 17:23:44 +00:00
Campbell Barton
0a2da1ee45 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).
2012-06-13 16:06:13 +00:00
Brecht Van Lommel
01b036f5c6 Fix #31754: strand width fade value 2.0 gives wrong result, should fade out
strand entirely. Fix based on patch by Philipp Oeser.
2012-06-13 15:33:59 +00:00
Campbell Barton
0bed750c3a move one line color conversion functions to be inline. 2012-06-13 15:13:19 +00:00
Campbell Barton
1dec23d33a add rgb_to_luma_y(), was being done inline in many places. 2012-06-13 15:05:42 +00:00
Campbell Barton
e22aa7bc38 style cleanup 2012-06-13 14:33:50 +00:00
Campbell Barton
99f7c06d7e added mask tool to recalculate handles (Ctrl+N) 2012-06-13 14:09:20 +00:00
Campbell Barton
3dd02efe2c fix for incorrectly checking for break in r47826 2012-06-13 14:01:28 +00:00
Campbell Barton
29165fc373 style cleanup 2012-06-13 13:59:46 +00:00
Campbell Barton
2e72720718 apply offset to the camera view - this works exactly like camera shift (transforms X/Y in the same space). 2012-06-13 13:23:48 +00:00
Campbell Barton
91781c76c4 framing options for camera background image: stretch/fit/crop 2012-06-13 12:58:01 +00:00
Jeroen Bakker
be1b5f82ce * optimized threading
* break out with glare node
 * Added OpenCL kernels compatible with AMD still need some testing.
2012-06-13 12:34:56 +00:00
Campbell Barton
902014555a 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.
2012-06-13 10:35:41 +00:00
Campbell Barton
6fa1af2a21 style cleanup: scale node 2012-06-13 10:03:39 +00:00
Campbell Barton
c83d37ccc0 mango request
- highlight active mask layers.
- remove keyframes when all layer data is removed.
2012-06-13 08:35:50 +00:00
Campbell Barton
4cf66322f3 tint non-active mask layers grey 2012-06-13 08:20:43 +00:00
Campbell Barton
1a625d1416 code cleanup: use const float's where possible and specify vector size. 2012-06-12 23:19:52 +00:00
Gaia Clary
b0038ae499 Collada: fixed a few loops to only loop over the list of exported objects, instead of the current scene. 2012-06-12 23:19:34 +00:00
Gaia Clary
c7cca0c842 fix code style cleanup 2012-06-12 23:01:43 +00:00
Campbell Barton
2e8a2f7668 style cleanup 2012-06-12 22:05:33 +00:00
Sergey Sharybin
7079709454 Merging r47793 through r47805 from trunk into soc-2011-tomato 2012-06-12 21:30:49 +00:00
Sergey Sharybin
46c95d37c6 Default value for frame offset should be 0 2012-06-12 21:29:15 +00:00
Gaia Clary
36ed4818e5 patch #31794 Collada: make exporter more robust, now uses BKE_object_relational_superset() 2012-06-12 21:25:29 +00:00
Sergey Sharybin
5dc0b35a01 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)
2012-06-12 21:25:23 +00:00
Gaia Clary
92d9483075 patch #31794 Added new function BKE_object_relational_superset() 2012-06-12 21:23:51 +00:00
Sergey Sharybin
aace651e51 Fix camera curve in clip editor not being remapped by a clip's start frame 2012-06-12 21:07:14 +00:00
Campbell Barton
e1241030db yse BLI_math for the compositor in more places. 2012-06-12 20:04:55 +00:00
Gaia Clary
7fec7070d7 fix: Collada build warning about inconsistent usage of Camera structure/class 2012-06-12 19:37:30 +00:00
Campbell Barton
16dededdf3 remove input socket of mask node, this wasnt used. 2012-06-12 18:36:49 +00:00
Bastien Montagne
ca6290228f Minor fix [#31798] [minor] simpledeform modifier tooltip 2012-06-12 18:35:36 +00:00
Sergey Sharybin
27775799b6 Merging r47783 through r47792 from trunk into soc-2011-tomato 2012-06-12 17:14:12 +00:00
Sergey Sharybin
128b0f9788 Added Selected Only and Show Hidden flags to clip editor's curve view 2012-06-12 17:11:16 +00:00
Sergey Sharybin
d3e098bb42 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.
2012-06-12 17:11:00 +00:00
Sergey Sharybin
37612200fd Added options to display only selected tracks and show hidden tracks
in motion tracking dopesheet view.

By default all channels are displaying now.
2012-06-12 17:10:47 +00:00
Sergey Sharybin
55ca0e7636 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.
2012-06-12 17:10:24 +00:00
Sergey Sharybin
c2f97f9171 Fixed despill on keying node not using input socket for screen color properly 2012-06-12 16:57:11 +00:00
Sergey Sharybin
1719b86f74 Tracking dopesheet's scrollbat now updates to channels number nicely. 2012-06-12 14:59:36 +00:00
Joshua Leung
8489e100dc Naming + Style tweaks for newly added flag for Action Constraint
Old names used could conflict with other things too easily in future
2012-06-12 11:54:31 +00:00
Sergey Sharybin
331d7e5691 Merging r47740 through r47782 from trunk into soc-2011-tomato 2012-06-12 11:41:06 +00:00
Nicholas Bishop
2062ca6b6c 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.
2012-06-12 11:22:10 +00:00
Sergey Sharybin
552887251f 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.
2012-06-12 11:13:53 +00:00
Campbell Barton
bc6929fcdd optimize jpeg2000 loading. 2012-06-12 08:50:40 +00:00
Lukas Toenne
6c4510f681 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
2012-06-12 08:44:46 +00:00
Bastien Montagne
b36b9f15ea Few minors style and type fixes (and a nice, harmless copy/paste error! ;) ) 2012-06-12 08:32:06 +00:00
Lukas Toenne
caa59446ab 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). 2012-06-12 08:28:25 +00:00
Campbell Barton
c9ddb96750 optimize jpeg2000 saving
- expand loops to avoid checks for each iteration
- use unsigned ints for looping over pixels
- use inline functions for color conversion
2012-06-12 08:10:34 +00:00
Lukas Toenne
43d1df9f47 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.
2012-06-12 07:27:50 +00:00
Bastien Montagne
2127e62c9b "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.
2012-06-12 06:22:23 +00:00
Jeroen Bakker
ac5a735e3f * 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
2012-06-12 04:23:21 +00:00
Ove Murberg Henriksen
9d32423f3e Bugfix: no longer crashes when dverts does not exist on source.
Added release for derivedmesh.
2012-06-11 22:58:49 +00:00