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

7 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

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

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

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

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

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

7 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

7 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

7 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

7 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

7 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

7 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

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

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

7 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

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

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

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

7 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: projects.blender.org/tracker/?func=detail&atid=498&aid=31433&group_id=9

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

7 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

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

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

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

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

7 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

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

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

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

7 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

7 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

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

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

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

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

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

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

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

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

This fixes #31774: Empty offset Y parameter is resetting

7 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

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

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

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

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

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

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

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

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

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

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

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

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

7 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

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

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

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

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

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

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

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

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

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

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

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

7 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

7 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

7 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

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

7 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

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

7 years agoadd back blending for vertex and weight paint modes, you may want to keep the one...
Campbell Barton [Wed, 20 Jun 2012 09:34:26 +0000 (09:34 +0000)]
add back blending for vertex and weight paint modes, you may want to keep the one brush and switch blending options.

7 years agoadd in convenience var 'D = bpy.data' - to the python console, add note for C, D...
Campbell Barton [Wed, 20 Jun 2012 08:49:59 +0000 (08:49 +0000)]
add in convenience var 'D = bpy.data' - to the python console, add note for C, D - in initial message.

7 years agominor speedup for the glare compositor node
Campbell Barton [Wed, 20 Jun 2012 08:11:59 +0000 (08:11 +0000)]
minor speedup for the glare compositor node
- pre calculate the UV dot product
- use image width and height converted to floats in the inner loop.

7 years agoFixes [#31577] Select N-th vertex/face/edge doesnt work
Nicholas Rishel [Wed, 20 Jun 2012 07:31:19 +0000 (07:31 +0000)]
Fixes [#31577] Select N-th vertex/face/edge doesnt work
http://projects.blender.org/tracker/index.php?func=detail&aid=31577&group_id=9&atid=498

Also solves both TODOs in the commented code.

Loop select now calls mouse_mesh() to handle setting an active vertex/edge/face.

7 years agostyle cleanup: use TRUE/FALSE for ui align args.
Campbell Barton [Tue, 19 Jun 2012 23:08:16 +0000 (23:08 +0000)]
style cleanup: use TRUE/FALSE for ui align args.

7 years agostyle cleanup
Campbell Barton [Tue, 19 Jun 2012 22:17:19 +0000 (22:17 +0000)]
style cleanup

7 years agoKeyingScreen would now deal properly with clips with Start Frame != 1
Sergey Sharybin [Tue, 19 Jun 2012 17:57:51 +0000 (17:57 +0000)]
KeyingScreen would now deal properly with clips with Start Frame != 1

7 years agoFix part 1 of [#31840] Quick Explode Bugs related to it's fade option.
Bastien Montagne [Tue, 19 Jun 2012 16:45:48 +0000 (16:45 +0000)]
Fix part 1 of [#31840] Quick Explode Bugs related to it's fade option.

Patch by Philipp Oeser (lichtwerk), just did style change (better to not define a value twice, so only affecting the three color components, not the alpha, also using the slice syntax makes things much more compact ;) ), thanks!

7 years agoFix part 2 of [#31840] Quick Explode Bugs related to it's fade option.
Bastien Montagne [Tue, 19 Jun 2012 16:26:01 +0000 (16:26 +0000)]
Fix part 2 of [#31840] Quick Explode Bugs related to it's fade option.

This in fact had nothing to see with this operator or its fade option, reports were simply not shown when repeating an operator.

Carefully checked/tracked all calls to wm_operator_exec and WM_operator_repeat, and could not see any reason why this was this way, so I disabled this. Very easy to undo in case ugly problems arize (but I really do not expect any!).

7 years agoChanges in clip editor's public api to make it's more clear
Sergey Sharybin [Tue, 19 Jun 2012 14:26:29 +0000 (14:26 +0000)]
Changes in clip editor's public api to make it's more clear
whether getting of some property happens or this property is
being changed.

Also made it more clear whether affecting property belongs
to clip or mask datablock.

7 years agoMark context as const when it's possible and avoid typecasts from const bContext...
Sergey Sharybin [Tue, 19 Jun 2012 14:09:44 +0000 (14:09 +0000)]
Mark context as const when it's possible and avoid typecasts from const bContext* to bContext*

7 years agoImplemented Preview of defocus to set the quality of the node to Low
Jeroen Bakker [Tue, 19 Jun 2012 13:52:41 +0000 (13:52 +0000)]
Implemented Preview of defocus to set the quality of the node to Low
increased the inner loop of opencl

7 years agofix for uninitialized memory use in the new compositor.
Campbell Barton [Tue, 19 Jun 2012 13:20:06 +0000 (13:20 +0000)]
fix for uninitialized memory use in the new compositor.

7 years ago * fixed defocus background blurin...
Jeroen Bakker [Tue, 19 Jun 2012 09:52:52 +0000 (09:52 +0000)]
 * fixed defocus background blurin...

7 years ago * Fixed brightness (was introduced by optimalization)
Jeroen Bakker [Tue, 19 Jun 2012 08:48:45 +0000 (08:48 +0000)]
 * Fixed brightness (was introduced by optimalization)
 * added threshold functionality

still have to fix the background bleeding. not sure why it happens.
needs some revisites.

7 years agoFix #31646, somehow a 2.62 file output node can have NULL storage pointer. Not sure...
Lukas Toenne [Tue, 19 Jun 2012 07:46:45 +0000 (07:46 +0000)]
Fix #31646, somehow a 2.62 file output node can have NULL storage pointer. Not sure how this can happen, but added checks in do_versions to make sure the file doesn't crash. Paths will probably have to be reset though.

7 years ago * Enabled OpenCL for the compositor
Jeroen Bakker [Mon, 18 Jun 2012 21:20:11 +0000 (21:20 +0000)]
 * Enabled OpenCL for the compositor

Tested on:
   - Windows32 ATI V5800
   - Linux64 GTX360M
   - Linux64 Quadro FX360M

The ATI is much more stable as the Nvidia platforms. We have tested
a different scheduling that will speed up for AMD (not checked in yet)

It compiles on all platforms, but fails on our MAC book Pro.
Black lines are produced on the top of a opencl workgroup.

By using localworksize we were able to remove these lines, but
are not satisfied at this solution (so will not check this in yet).

Please everyone check if it works on your configuration and add
Bugs when needed.

To test you need to add a BokehBlur to your scene and enable the
OpenCL flag in the property panel.

7 years agoFix for subsurf oscillations along creased boundary edges
Nicholas Bishop [Mon, 18 Jun 2012 20:50:35 +0000 (20:50 +0000)]
Fix for subsurf oscillations along creased boundary edges

Changed the "exterior edge interior shift" section of subsurf calc to
always treat boundary edges the same, regardless of sharpness. We
should revisit subsurf creasing to see if more consistent and
predictable results are possible, but for now this a non-intrusive way
to avoid wavyness along the boundary.

Fixes bug [#31864] Artifacts when using Subsurf+Crease on plane
http://projects.blender.org/tracker/index.php?func=detail&aid=31864&group_id=9&atid=498

7 years agoCode cleanup: use float* rather than void* in subsurf calculation
Nicholas Bishop [Mon, 18 Jun 2012 20:50:25 +0000 (20:50 +0000)]
Code cleanup: use float* rather than void* in subsurf calculation

No functional changes.

7 years agoMinor UI message fixes.
Bastien Montagne [Mon, 18 Jun 2012 20:22:23 +0000 (20:22 +0000)]
Minor UI message fixes.

7 years agoFix for compiling with all warnings as error (commenting out unused vars).
Bastien Montagne [Mon, 18 Jun 2012 19:37:01 +0000 (19:37 +0000)]
Fix for compiling with all warnings as error (commenting out unused vars).

7 years agoDO not reset clip's focal length when changing path to footage
Sergey Sharybin [Mon, 18 Jun 2012 18:22:49 +0000 (18:22 +0000)]
DO not reset clip's focal length when changing path to footage

7 years agoFix for sculpt undo updating hidden rather than coords.
Nicholas Bishop [Mon, 18 Jun 2012 17:49:31 +0000 (17:49 +0000)]
Fix for sculpt undo updating hidden rather than coords.

Fixes bug [#31858] Undo + sculpt mode, which exposed the bug by having
two objects use the same mesh data.

The rebuild variable was initialize to true, so multires data was
getting marked as having GridHidden modified rather than coords
modified.

7 years agoPatch #31755: fix missing redraw in space_buttons when grouping objects (CTRL+G)
Sergey Sharybin [Mon, 18 Jun 2012 17:07:26 +0000 (17:07 +0000)]
Patch #31755: fix missing redraw in space_buttons when grouping objects (CTRL+G)

When you group objects with CTRL+G and have the properties
space --> object tab --> groups panel visible there is a redraw
missing.

Patch by Philipp Oeser. Thanks!

7 years agoFix #31740, compositor overwrites images on frame scrubbing. Restored old compositor...
Lukas Toenne [Mon, 18 Jun 2012 16:23:16 +0000 (16:23 +0000)]
Fix #31740, compositor overwrites images on frame scrubbing. Restored old compositor behavior which only saves images when doing an actual rendering (this was not implemented in Tile yet).

7 years agoSome options used for "expert" x264 setup were removed from FFmpeg 0.11
Sergey Sharybin [Mon, 18 Jun 2012 15:42:23 +0000 (15:42 +0000)]
Some options used for "expert" x264 setup were removed from FFmpeg 0.11
Prevent crashes in cases when option can't be found.

7 years agoFix #31825: 3D View Editor Header > Object > Game > Copy Properties affecting other...
Sergey Sharybin [Mon, 18 Jun 2012 14:44:16 +0000 (14:44 +0000)]
Fix #31825: 3D View Editor Header > Object > Game > Copy Properties affecting other commands.

Mark property to be copied/moved as SKIP_SAVE. That was giving the issues.

7 years agoFix #31826: UV/Image editor paint image crash
Sergey Sharybin [Mon, 18 Jun 2012 14:08:54 +0000 (14:08 +0000)]
Fix #31826: UV/Image editor paint image crash

Missed NULL check in own refactoring a while ago.

7 years agoDisable mouse slide to control offset and uniform pattern scale for now
Sergey Sharybin [Mon, 18 Jun 2012 14:02:59 +0000 (14:02 +0000)]
Disable mouse slide to control offset and uniform pattern scale for now

This is nice to have, but requires better approach for visualization.

Any ideas? :)

7 years agoReverting changes made in r48030 by Campbell's request
Sergey Sharybin [Mon, 18 Jun 2012 13:46:57 +0000 (13:46 +0000)]
Reverting changes made in r48030 by Campbell's request

7 years agostyle cleanup
Campbell Barton [Mon, 18 Jun 2012 13:01:24 +0000 (13:01 +0000)]
style cleanup

7 years agoFix for recent bugfix, make old files with strand width fade 2.0 render same.
Brecht Van Lommel [Mon, 18 Jun 2012 12:49:05 +0000 (12:49 +0000)]
Fix for recent bugfix, make old files with strand width fade 2.0 render same.