9 years agoIgnore disabled markers when building keying screen.
Sergey Sharybin [Mon, 25 Jun 2012 16:36:22 +0000 (16:36 +0000)]
Ignore disabled markers when building keying screen.

9 years agoCamera solver: take track offset into account
Sergey Sharybin [Mon, 25 Jun 2012 16:36:12 +0000 (16:36 +0000)]
Camera solver: take track offset into account

This helps in cases when it's needed to track a feature which
goes out of screen for a while to prevent jump of camera.

9 years agoFix for [#31900] Loop Selection on wireframe selects vertex behind.
Bastien Montagne [Mon, 25 Jun 2012 13:32:04 +0000 (13:32 +0000)]
Fix for [#31900] Loop Selection on wireframe selects vertex behind.

Revert part of r48105 (calling mouse_mesh() in mouse_mesh_loop() is not a good idea, as it might select another element ouside the selected loop, and is anyway overkill!), added lighter code that simply checks for the nearest vertex/face of current edge.

9 years agofix for #31914
Jeroen Bakker [Mon, 25 Jun 2012 12:58:53 +0000 (12:58 +0000)]
fix for #31914

9 years agoFix #31920: switching from cycles to blender internal with 3d view in rendered
Brecht Van Lommel [Mon, 25 Jun 2012 12:13:21 +0000 (12:13 +0000)]
Fix #31920: switching from cycles to blender internal with 3d view in rendered
draw mode did not draw the 3d view properly.

9 years agoFix cycles not working in 3d local view, and missing update when toggling hiding
Brecht Van Lommel [Mon, 25 Jun 2012 11:43:22 +0000 (11:43 +0000)]
Fix cycles not working in 3d local view, and missing update when toggling hiding
in the outliner.

9 years agoGuardedalloc/C++: delete is valid on a NULL pointer, add a check so MEM_freeN
Brecht Van Lommel [Mon, 25 Jun 2012 11:43:12 +0000 (11:43 +0000)]
Guardedalloc/C++: delete is valid on a NULL pointer, add a check so MEM_freeN
doesn't print warning messages.

9 years agoFix for cycles building with assertions on scons/windows.
Brecht Van Lommel [Mon, 25 Jun 2012 11:42:58 +0000 (11:42 +0000)]
Fix for cycles building with assertions on scons/windows.

9 years agothe mutex struct seems to be different across systems, use memset rather then an...
Campbell Barton [Mon, 25 Jun 2012 11:19:38 +0000 (11:19 +0000)]
the mutex struct seems to be different across systems, use memset rather then an initializer value.
also quiet warning in cycles.

9 years agoFix compile after 48262 ( braces)
Jens Verwiebe [Mon, 25 Jun 2012 11:13:27 +0000 (11:13 +0000)]
Fix compile after 48262 ( braces)

9 years agoAdded feather control to keying node
Sergey Sharybin [Mon, 25 Jun 2012 10:50:24 +0000 (10:50 +0000)]
Added feather control to keying node

Behaves in the same way as feather dilate/erode node, applies
after dilate/erode in node.

Also use distance dilate/erode instead of size.

9 years agomore guardedalloc use in C++, also make compositorMutex a static var, was allocated...
Campbell Barton [Mon, 25 Jun 2012 10:35:24 +0000 (10:35 +0000)]
more guardedalloc use in C++, also make compositorMutex a static var, was allocated and never freed.

9 years agooptionally use guarded alloc for tiles compositor, also replace allocation functions...
Campbell Barton [Mon, 25 Jun 2012 09:14:37 +0000 (09:14 +0000)]
optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro.

9 years agocomment for TODO - rgb_to_bw / rgb_to_grayscale usage.
Campbell Barton [Mon, 25 Jun 2012 08:58:50 +0000 (08:58 +0000)]
comment for TODO - rgb_to_bw / rgb_to_grayscale usage.

9 years agoOptimization of Keying Blur operation
Sergey Sharybin [Mon, 25 Jun 2012 08:21:55 +0000 (08:21 +0000)]
Optimization of Keying Blur operation

Separate X and Y passes of blurring like it's done for flat
gaussian blur. This reduces computing difficulty from size^2
to 2*size without any visual changes in matte.

9 years agostyle cleanup
Campbell Barton [Mon, 25 Jun 2012 07:24:48 +0000 (07:24 +0000)]
style cleanup

9 years agoutility mesh function to return UV islands
Campbell Barton [Mon, 25 Jun 2012 07:24:01 +0000 (07:24 +0000)]
utility mesh function to return UV islands

9 years agoUse own version of ff_update_cur_dts for FFmpeg >= 0.11, seems
Sergey Sharybin [Mon, 25 Jun 2012 07:14:21 +0000 (07:14 +0000)]
Use own version of ff_update_cur_dts for FFmpeg >= 0.11, seems
linking against function which isn't public in API gives error
when met some circumstances.

9 years agoFixes for modifier data in multi-user meshes.
Nicholas Bishop [Sun, 24 Jun 2012 20:18:32 +0000 (20:18 +0000)]
Fixes for modifier data in multi-user meshes.

When removing a skin or multires modifier, it skips deletion of the
associated CustomData layer if the object has any other modifiers of
that type. This check has been extended to all objects that use the
object's data.

Similarly, deleting higher multires levels and multires subdivision
will not update the maximum level of any other multires modifiers on
objects that link to the same mesh.

Note that modifier_apply_obdata() doesn't need any changes as it
does not allow applying to multi-user data.

Object joining has also been modified to synchronize multires levels
objects that share a mesh. This is needed because joining can
subdivide or delete levels in order to match the maximum level of the
join-from object to the join-to object.

Fixes bug [#31880] instance multiresolution modifier error.

Reviewed by Sergey:

9 years agoTracking dopesheet missed tagigng for update in some cases.
Sergey Sharybin [Sun, 24 Jun 2012 18:00:14 +0000 (18:00 +0000)]
Tracking dopesheet missed tagigng for update in some cases.

9 years agoSkip edge matte operation creation if output socket is not connected.
Sergey Sharybin [Sun, 24 Jun 2012 17:38:14 +0000 (17:38 +0000)]
Skip edge matte operation creation if output socket is not connected.

9 years agoFix [#31807] Ngon triangulation error
Bastien Montagne [Sun, 24 Jun 2012 16:19:19 +0000 (16:19 +0000)]
Fix [#31807] Ngon triangulation error

*This implements a quite simple algorithm, which simply checks angles (actually, absolute cosines) of created tri and remaining face (which may be a tri, quad, or more NGon), so that both are "best" (ie avoid as much as possible too much narrow/wide corners), and also checks the new edge is OK (i.e. does not goes "out" of original face).
*Incidently, it fixes a typo in that bm_face_goodline() func!
*It's quite performant (a bit quicker than previous code, as far as I have tested it) and prevent creation of completely flat triangles as much as possible, but it's far from being a "best" solution (as it is still a "progressive" one)!
*It also introduces a new math func (in BLI_math_vector.h), cos_v3v3v3, which computes cosine (ie dot product of normalized vectors) and is roughly a quicker replacement for angle_v3v3v3, when real angles are not needed.

9 years agoMark some utility functions as static to avoid namespace conflicts
Sergey Sharybin [Sun, 24 Jun 2012 15:54:36 +0000 (15:54 +0000)]
Mark some utility functions as static to avoid namespace conflicts
and make export symbol table smaller.

9 years agoOptimization of keying screen node
Sergey Sharybin [Sun, 24 Jun 2012 15:29:43 +0000 (15:29 +0000)]
Optimization of keying screen node

Use AABB check before calculating barycentric coordinates.

In simple tests with FullHD image and 4-9 tracks used for gradient
gave 1.5-2x speedup.

9 years agoStyle cleanup
Sergey Sharybin [Sun, 24 Jun 2012 14:50:03 +0000 (14:50 +0000)]
Style cleanup

9 years agoFix crash sliding disabled marker from preview widget.
Sergey Sharybin [Sun, 24 Jun 2012 14:16:40 +0000 (14:16 +0000)]
Fix crash sliding disabled marker from preview widget.

Reported by brothermechanic, thanks!

9 years agoRelease cycles:
Thomas Dinges [Sun, 24 Jun 2012 14:08:34 +0000 (14:08 +0000)]
Release cycles:
*BCon 3 - beta.

9 years agoTypo and spelling fixes pointed by Lockal. thanks!
Sergey Sharybin [Sun, 24 Jun 2012 13:52:20 +0000 (13:52 +0000)]
Typo and spelling fixes pointed by Lockal. thanks!

9 years agoFix #31909: "Make Segment" on path-curves gives wrong result
Sergey Sharybin [Sun, 24 Jun 2012 11:27:28 +0000 (11:27 +0000)]
Fix #31909: "Make Segment" on path-curves gives wrong result

In fact fixed in easiest way -- always re-calculate knots array
on topology changes.

After some discussion with Ton we agreed on that having manually
editable knots is not intuitive and user should only define
cyclic/endpoints flags and knots would be re-calculated based
on this flags.

This means that it's unnecessary to have special logic for knots
manipulating in some topology changing tools and they could just
re-calculate knots for the whole nurb, without worrying that knots
could have been manually edited.

9 years agoFix #31908, better drawing for node group interface links. Links from/to node group...
Lukas Toenne [Sun, 24 Jun 2012 10:49:22 +0000 (10:49 +0000)]
Fix #31908, better drawing for node group interface links. Links from/to node group internal sockets (input/output columns on the side) were drawn in a kind of subtle "background" mode, making them hard to see behind nodes. This was still from pre-2.56.2 versions, where group interfaces were created automatically and these links were just indicators of which external socket a node refers to.

Now these links are drawn in the same way as all others. Also they now display highlighting correctly when inserting a node into a link, making it easier to avoid unwanted insertions.

9 years agoFixes for area of interest in keying nodes: no need to wait for the whole
Sergey Sharybin [Sun, 24 Jun 2012 10:31:48 +0000 (10:31 +0000)]
Fixes for area of interest in keying nodes: no need to wait for the whole
input image to be calculated in some cases, use only actual area which is
needed to calculate current tile.

Seems to be giving some % of speedup. Verified result of keying before
this patch and after this patch and they were identical, so hopefully
now area of interest is indeed correct.

9 years agoRemove unused header include.
Sergey Sharybin [Sun, 24 Jun 2012 09:55:10 +0000 (09:55 +0000)]
Remove unused header include.

9 years agostyle cleanyp
Campbell Barton [Sat, 23 Jun 2012 23:22:19 +0000 (23:22 +0000)]
style cleanyp

9 years agoAdded option for exporting material based textures. Cleaned up header files due to...
Gaia Clary [Sat, 23 Jun 2012 22:03:31 +0000 (22:03 +0000)]
Added option for exporting material based textures. Cleaned up header files due to a bug in osx

9 years agoKeying node: assume overexposured pixels as foreground
Sergey Sharybin [Sat, 23 Jun 2012 18:04:41 +0000 (18:04 +0000)]
Keying node: assume overexposured pixels as foreground

Screens are usually doesn't have overexposured pixels and all
saturation / gradient math was written assuming that all channels
are withing 0 .. 1 range and in cases when some channel exceeds
this range matte could be completely wrong.

Added special check for overesposure and assume such pixels as
definitely foreground.

Also fixed minimal value for edge kernel size.

9 years agoadd cmake option WITH_SYSTEM_OPENJPEG so linux can build cycles without having libope...
Campbell Barton [Sat, 23 Jun 2012 14:23:44 +0000 (14:23 +0000)]
add cmake option WITH_SYSTEM_OPENJPEG so linux can build cycles without having libopenjpeg installed.

9 years agorename WITH_BUILTIN_GLEW, WITH_SYSTEM_GLEW & negate.
Campbell Barton [Sat, 23 Jun 2012 13:42:14 +0000 (13:42 +0000)]

9 years agoFix for [#29412] "Priority 0 cause problems with pulse mode" reported by Guillaume...
Mitchell Stokes [Sat, 23 Jun 2012 03:39:03 +0000 (03:39 +0000)]
Fix for [#29412] "Priority 0 cause problems with pulse mode" reported by Guillaume Côté.

Right now this is being fixed by not allowing the exact same action (action, start/end frames, speed, etc) to be played if it's already playing. Hopefully this will not cause more issues than it solves.

9 years agoSVN maintenance.
Guillermo S. Romero [Sat, 23 Jun 2012 02:10:54 +0000 (02:10 +0000)]
SVN maintenance.

9 years agoFix: Collada (Exporter) replaced the initial operator Presets with 2 up to date versions
Gaia Clary [Fri, 22 Jun 2012 17:14:50 +0000 (17:14 +0000)]
Fix: Collada (Exporter) replaced the initial operator Presets with 2 up to date versions

9 years agoCollada: (Export) Added export of surface textures, and control over exported uv...
Gaia Clary [Fri, 22 Jun 2012 16:16:58 +0000 (16:16 +0000)]
Collada: (Export) Added export of surface textures, and control over exported uv layers

9 years agoadded new function BKE_imbuf_to_image_format
Gaia Clary [Fri, 22 Jun 2012 15:40:49 +0000 (15:40 +0000)]
added new function BKE_imbuf_to_image_format

9 years agofixed function name: BLI_rebase_path, reworked description, added enum bli_rebase_sta...
Gaia Clary [Fri, 22 Jun 2012 15:38:49 +0000 (15:38 +0000)]
fixed function name: BLI_rebase_path, reworked description, added enum bli_rebase_state for defined return values

9 years agoremove scene from new compositor classes. only needs RenderData
Campbell Barton [Fri, 22 Jun 2012 15:06:52 +0000 (15:06 +0000)]
remove scene from new compositor classes. only needs RenderData

9 years agofix for [#31890] Lens Distortion inside Node group don't work
Jeroen Bakker [Fri, 22 Jun 2012 14:43:25 +0000 (14:43 +0000)]
fix for [#31890] Lens Distortion inside Node group don't work

9 years agoNullpointer exception happened when all input sockets of a (for example)
Jeroen Bakker [Fri, 22 Jun 2012 13:24:43 +0000 (13:24 +0000)]
Nullpointer exception happened when all input sockets of a (for example)
a translate node were connected with the same complex node (like lens

Added a check to see if the list of buffers are available to resolve
this issue.

9 years ago * fix for [#31553] Tile Compositor: Strange seams
Jeroen Bakker [Fri, 22 Jun 2012 13:11:38 +0000 (13:11 +0000)]
 * fix for [#31553] Tile Compositor: Strange seams

9 years agowhen draw-other-uv's is enabled. fallback to the spaces image if no active face is...
Campbell Barton [Fri, 22 Jun 2012 12:31:16 +0000 (12:31 +0000)]
when draw-other-uv's is enabled. fallback to the spaces image if no active face is found.

9 years agomask re-key feature - mango request. ability to reset selected points shape key data.
Campbell Barton [Fri, 22 Jun 2012 11:53:49 +0000 (11:53 +0000)]
mask re-key feature - mango request. ability to reset selected points shape key data.

useful if you add many keys to one part of a curve, then later want to key another part - but dont want to continuously make the same corrections.

9 years agouse an inline function for rgb -> bw conversion.
Campbell Barton [Fri, 22 Jun 2012 07:49:44 +0000 (07:49 +0000)]
use an inline function for rgb -> bw conversion.

9 years agoThis backtracks an error introduced in r48155 when trying to fix: http://projects...
Nicholas Rishel [Fri, 22 Jun 2012 04:40:38 +0000 (04:40 +0000)]
This backtracks an error introduced in r48155 when trying to fix:

First half of the problem is fixed, but the second issue regarding edge/vertex snapping disregarding angle constraints will need some refactoring eventually.

9 years ago[#31885] uiItemMenuEnumO / layout.operator_menu_enum() fails silently with bad proper...
Dan Eicher [Thu, 21 Jun 2012 20:14:27 +0000 (20:14 +0000)]
[#31885] uiItemMenuEnumO / layout.operator_menu_enum() fails silently with bad property argument.

uiItemsFullEnumO() not displaying an RNA_warning if the prop doesn't exist/isn't an enum

9 years agohue color display still was shifted, turned out the resolution was a bit too low.
Campbell Barton [Thu, 21 Jun 2012 19:45:36 +0000 (19:45 +0000)]
hue color display still was shifted, turned out the resolution was a bit too low.

9 years ago[#31895] Connect 'Hue Correct' to 'Viewer' crashes.
Jeroen Bakker [Thu, 21 Jun 2012 18:32:23 +0000 (18:32 +0000)]
[#31895] Connect 'Hue Correct' to 'Viewer' crashes.

9 years ago * only calculate node preview that are visible (node_preview flag set &
Jeroen Bakker [Thu, 21 Jun 2012 18:22:43 +0000 (18:22 +0000)]
 * only calculate node preview that are visible (node_preview flag set &
node_hidden unset)

9 years ago * make it possible to composite without an compositor node [#31878]
Jeroen Bakker [Thu, 21 Jun 2012 17:58:12 +0000 (17:58 +0000)]
 * make it possible to composite without an compositor node [#31878]
Tiles Compositor: Fails without 'Compositor' output node. Regression.

9 years ago * fix to support for multiple OpenCL platform for the Compositor
Jeroen Bakker [Thu, 21 Jun 2012 16:05:56 +0000 (16:05 +0000)]
 * fix to support for multiple OpenCL platform for the Compositor

9 years agocolor backdrop on hue balance was misleading (shifted to the right)
Campbell Barton [Thu, 21 Jun 2012 15:42:08 +0000 (15:42 +0000)]
color backdrop on hue balance was misleading (shifted to the right)

9 years agohue correct node: draw hsv backdrop with full alpha.
Campbell Barton [Thu, 21 Jun 2012 15:03:30 +0000 (15:03 +0000)]
hue correct node: draw hsv backdrop with full alpha.

9 years agoCorrect openjpeg for scons too.
Antony Riakiotakis [Thu, 21 Jun 2012 14:49:10 +0000 (14:49 +0000)]
Correct openjpeg for scons too.

9 years agoSet openjpeg to static. Solves linking issues on recent openjpeg update
Antony Riakiotakis [Thu, 21 Jun 2012 14:44:15 +0000 (14:44 +0000)]
Set openjpeg to static. Solves linking issues on recent openjpeg update

9 years agodisplay a sample line in the hue correct, handy to sample the image to know what...
Campbell Barton [Thu, 21 Jun 2012 14:37:56 +0000 (14:37 +0000)]
display a sample line in the hue correct, handy to sample the image to know what to change

9 years agosampling the node backdrop now draws a line in the curve (as it did in 2.4x).
Campbell Barton [Thu, 21 Jun 2012 14:12:14 +0000 (14:12 +0000)]
sampling the node backdrop now draws a line in the curve (as it did in 2.4x).

9 years agoThemes:
Thomas Dinges [Thu, 21 Jun 2012 14:05:31 +0000 (14:05 +0000)]
* Fixes for the "Back to Black" theme, patch by meta-androcto. Fixed text editor select & vert edge select color. Thanks!

9 years agostyle cleanup
Campbell Barton [Thu, 21 Jun 2012 13:19:19 +0000 (13:19 +0000)]
style cleanup

9 years agoFix #31787, moving the mouse cursor outside the Blender window doesn't change back...
Lukas Toenne [Thu, 21 Jun 2012 13:02:48 +0000 (13:02 +0000)]
Fix #31787, moving the mouse cursor outside the Blender window doesn't change back to standard cursor on OSX. This was caused by an unnecessarily removed line in r46884. Reported and fixed by Jens Verwiebe in IRC.

9 years agonegate previous commit flag, this way existing files dont loose their feather.
Campbell Barton [Thu, 21 Jun 2012 12:45:53 +0000 (12:45 +0000)]
negate previous commit flag, this way existing files dont loose their feather.

9 years agooption to disable feather, since its so slow - for interactively editing masks its...
Campbell Barton [Thu, 21 Jun 2012 12:27:57 +0000 (12:27 +0000)]
option to disable feather, since its so slow - for interactively editing masks its useful to be able to disable.
also rename RNA to 'use_antialiasing'

9 years agoFixes for 8vytes scalar types used in DNA (int64 and double)
Sergey Sharybin [Thu, 21 Jun 2012 10:52:23 +0000 (10:52 +0000)]
Fixes for 8vytes scalar types used in DNA (int64 and double)

- makesdna wasn't checking whether such scalars are aligned to 8 bytes.
  Now it should be handled correct.
- Some scalars in Object structure weren't 8 bytes aligned, which lead
  to some incorrectly loaded files.

  Fixed by adding void *pad. It's a bit tricky part of patch, but can't
  see clearer way to make alignment correct

  Usually ints/chars were used for padding, but in this case there are
  some leading pointer properties before int64 properties and using
  pointer as a padding resolves alignment on both 32 and 64 bit

  Using pointers as padding weren't needed before, because all types
  were correctly aligned independent of whether pointers are 4 or 8

This fixes #31774: Empty offset Y parameter is resetting

9 years agoupdate libopenjpeg from 1.3 to 1.5, since 1.3 has a bug saving alpha channels.
Campbell Barton [Thu, 21 Jun 2012 09:47:30 +0000 (09:47 +0000)]
update libopenjpeg from 1.3 to 1.5, since 1.3 has a bug saving alpha channels.

the patches/ dir is NOT applied but perhaps we can get OSX and BSD working using the opj_config.h

9 years agoFixes [#31433] BMesh: Knife tool Angle Constraint function
Nicholas Rishel [Thu, 21 Jun 2012 08:58:17 +0000 (08:58 +0000)]
Fixes [#31433] BMesh: Knife tool Angle Constraint function

The problem was that calculating the angle was reliant on previous mouse coordinates, which did not update to match snapped-to vertices and edges.

This solves the issue by updating mouse coordinates in knife_find_closest_edge() and knife_find_closest_vertex(). Additionally, when angle constraints are enabled, edge/vertex snapping is now prevented.

9 years ago* Fix for the Cycles XML commit yesterday, blur_glossy has a different internal varia...
Thomas Dinges [Thu, 21 Jun 2012 08:02:18 +0000 (08:02 +0000)]
* Fix for the Cycles XML commit yesterday, blur_glossy has a different internal variable name.

9 years agofalloff options for dilate/erode feather compo node.
Campbell Barton [Thu, 21 Jun 2012 07:45:41 +0000 (07:45 +0000)]
falloff options for dilate/erode feather compo node.

9 years agoFix [#31714] Pinning object context causes texture list to disappear
Bastien Montagne [Thu, 21 Jun 2012 07:32:06 +0000 (07:32 +0000)]
Fix [#31714] Pinning object context causes texture list to disappear

Problem was py code of main texture panel was not doing any check on the pinned id, assuming it managed the textures itself - but this is not the case of the Object datablock...

All work actually done by Sergey, was just missing the Lamp specific case. Checked both in code and with tests, quite sure all cases are now correctly handled!

9 years agoFix for color ramp RNA paths in node trees. The path generation for color ramps in...
Lukas Toenne [Thu, 21 Jun 2012 07:14:39 +0000 (07:14 +0000)]
Fix for color ramp RNA paths in node trees. The path generation for color ramps in nodes was incomplete (not prepending the ID-to-node path), which prevented keyframing color ramp elements. Path lookup for color ramps is still brute-force and slow, but this is a general design problem with nested RNA structs.

9 years agoFix for properly converting 2.4x IPO Actuators to 2.6x Action Actuators. Previously...
Mitchell Stokes [Thu, 21 Jun 2012 06:27:51 +0000 (06:27 +0000)]
Fix for properly converting 2.4x IPO Actuators to 2.6x Action Actuators. Previously the converted Action Actuators would not have an action assigned. This fix is based on code provided by Maxim Aleynikov in his report: [#30410] not full conversion IPO Actuator in Action Actuator.

9 years agoFix for [#31396] "bge.logic.LibLoad fails to import text blocks" reported by Leonard...
Mitchell Stokes [Thu, 21 Jun 2012 05:41:06 +0000 (05:41 +0000)]
Fix for [#31396] "bge.logic.LibLoad fails to import text blocks" reported by Leonard Ritter.

Blender's import function check's the Text datablocks in main for additional modules for importing. However, libloaded scenes were 1) not loading Text datablocks and 2) not letting bpy know about them. Text datablocks are now loaded if a Scene is loaded and bpy can now looking through extra Mains to find additional modules.

9 years agoFix for [#31792] "Character Physics type not detected by near sensor" reported by...
Mitchell Stokes [Thu, 21 Jun 2012 05:30:57 +0000 (05:30 +0000)]
Fix for [#31792] "Character Physics type not detected by near sensor" reported by Mikko-Pentti Eronen.

Near sensors only pick up "actors," but objects with character physics did not have the actor option displayed. By setting the character physics object to actor, it can be picked up by the near sensor. However, it collides with the near sensor, which sounds like bug [#31701]

9 years agoworkarond for outliner group object selection trick - which is so slow it had to...
Campbell Barton [Wed, 20 Jun 2012 23:21:36 +0000 (23:21 +0000)]
workarond for outliner group object selection trick - which is so slow it had to be disabled. Now use the first object of the group, which isn't great but is at least usable.

9 years agocorrection to own commit - thanks Anthony Edlin for pointing out the error.
Campbell Barton [Wed, 20 Jun 2012 22:57:05 +0000 (22:57 +0000)]
correction to own commit - thanks Anthony Edlin for pointing out the error.

9 years agoCycles XML:
Thomas Dinges [Wed, 20 Jun 2012 21:12:38 +0000 (21:12 +0000)]
Cycles XML:
* Add recent integrator options.

9 years agofix for segfault loading a file with a proxy that is a missing link.
Campbell Barton [Wed, 20 Jun 2012 21:10:34 +0000 (21:10 +0000)]
fix for segfault loading a file with a proxy that is a missing link.

9 years agoRefactoring of tiles opencl implementation:
Monique Dewanchand [Wed, 20 Jun 2012 20:05:21 +0000 (20:05 +0000)]
Refactoring of tiles opencl implementation:
- Moved methods from NodeOperation to OpenCLDevice
- Added check on Nvidia for local size

9 years agoavoid calls to BLF_height_default in a loop calling with the same value, also quiet...
Campbell Barton [Wed, 20 Jun 2012 19:23:12 +0000 (19:23 +0000)]
avoid calls to BLF_height_default in a loop calling with the same value, also quiet warning.

9 years agomake mask handles draw with an outline - when outline option is enabled.
Campbell Barton [Wed, 20 Jun 2012 18:46:18 +0000 (18:46 +0000)]
make mask handles draw with an outline - when outline option is enabled.

9 years agofix for use of 2 uninitialized vars in the tiles compositor.
Campbell Barton [Wed, 20 Jun 2012 17:35:51 +0000 (17:35 +0000)]
fix for use of 2 uninitialized vars in the tiles compositor.

9 years agofix for error with sequencer stip text drawing - was using unclamped handle sizes...
Campbell Barton [Wed, 20 Jun 2012 17:10:40 +0000 (17:10 +0000)]
fix for error with sequencer stip text drawing - was using unclamped handle sizes for the text bounds, this could be very wrong with long strips.

9 years ago * reset OpenCL innerloop size to 32.
Jeroen Bakker [Wed, 20 Jun 2012 17:04:40 +0000 (17:04 +0000)]
 * reset OpenCL innerloop size to 32.

9 years agostyle cleanup
Campbell Barton [Wed, 20 Jun 2012 16:43:48 +0000 (16:43 +0000)]
style cleanup

9 years agomove the frame length to the end for sequence drawing (mango request, since often...
Campbell Barton [Wed, 20 Jun 2012 16:34:15 +0000 (16:34 +0000)]
move the frame length to the end for sequence drawing (mango request, since often the name is clipped out entirely so only then length is seen)

9 years agoFix crash in compositing nodes with a node group with missing datablock, can
Brecht Van Lommel [Wed, 20 Jun 2012 14:57:39 +0000 (14:57 +0000)]
Fix crash in compositing nodes with a node group with missing datablock, can
happen with library linking and missing files.

9 years agoFix #31883: cycles vectors pass rendering crash with some render layers using
Brecht Van Lommel [Wed, 20 Jun 2012 14:24:52 +0000 (14:24 +0000)]
Fix #31883: cycles vectors pass rendering crash with some render layers using
it and others not.

9 years agoFix #31852: Sequencer duplicate cant move strips on Y axis in a meta
Sergey Sharybin [Wed, 20 Jun 2012 14:20:03 +0000 (14:20 +0000)]
Fix #31852: Sequencer duplicate cant move strips on Y axis in a meta

Issue was caused by some stuff happenign in wm_operator_finish() which uses
to somehow restore changes made by transformation invoke function.

Solved by not calling translation operator directly from duplication operator
(which is in fact really tricky) and use macros instead. This macros calls
duplication operator which simply duplicates strip, and then calls translation

9 years agoremoving from group now shows menu to select group to remove.
Campbell Barton [Wed, 20 Jun 2012 14:13:22 +0000 (14:13 +0000)]
removing from group now shows menu to select group to remove.

9 years agoAdded command line argument --debug-value
Sergey Sharybin [Wed, 20 Jun 2012 13:40:43 +0000 (13:40 +0000)]
Added command line argument --debug-value

Useful when needed to set debug value (G.rt) on blender's startup

9 years agoSilent masks "alloc new deform spline" debug print
Sergey Sharybin [Wed, 20 Jun 2012 13:32:30 +0000 (13:32 +0000)]
Silent masks "alloc new deform spline" debug print

9 years agoStore parent's initial position when setting mask's parent from the interface
Sergey Sharybin [Wed, 20 Jun 2012 11:16:51 +0000 (11:16 +0000)]
Store parent's initial position when setting mask's parent from the interface

9 years agoDo not check result of BKE_tracking_marker_get -- it shall always
Sergey Sharybin [Wed, 20 Jun 2012 10:54:56 +0000 (10:54 +0000)]
Do not check result of BKE_tracking_marker_get -- it shall always
return valid marker. If not -- let blender crash, because that means
something went really bad and silencing this isn't good idea.

Also made mask parenting to tracking data aware of clip's start frame.

9 years agoGrease pencil and manual calibration weren't aware of clip start frame
Sergey Sharybin [Wed, 20 Jun 2012 10:42:41 +0000 (10:42 +0000)]
Grease pencil and manual calibration weren't aware of clip start frame

9 years agoCleanup up space clip API:
Sergey Sharybin [Wed, 20 Jun 2012 10:28:51 +0000 (10:28 +0000)]
Cleanup up space clip API:

- Remove clip/mask specific size/aspect getters, they shall just
  use the same size/aspect ratio.
- Made size getter (and some other public functions) accept context
  instead of SpaceClip. Currently only SpaceClip is being get from
  this context, but later it'll be helpful when adding support of
  editing mask without opening clip in clip editor (in this case
  using render resolution for mask would be ideal, but this
  requires knowing scene in size getter).
- Rearrange some functions in clip_editor.c for easier navigation
  in the file.