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

7 years agoRNA: add Area and Region window xy coordinates access.
Brecht Van Lommel [Mon, 18 Jun 2012 12:48:51 +0000 (12:48 +0000)]
RNA: add Area and Region window xy coordinates access.

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

7 years agoFix #31856: movieclips.load(filepath=None) or value crash Blender
Sergey Sharybin [Mon, 18 Jun 2012 12:34:19 +0000 (12:34 +0000)]
Fix #31856: movieclips.load(filepath=None) or value crash Blender

Disallow running PyUnicode_EncodeFSDefault for None type which seems
to be an issue on Windows.

7 years agoFix #31838: Console error with particle Child Simplification is enabled.
Sergey Sharybin [Mon, 18 Jun 2012 12:29:44 +0000 (12:29 +0000)]
Fix #31838: Console error with particle Child Simplification is enabled.

Patch by Philipp Oeser, thanks!

7 years agoReduce amount of deprecated symbols used from FFmpeg
Sergey Sharybin [Mon, 18 Jun 2012 10:29:11 +0000 (10:29 +0000)]
Reduce amount of deprecated symbols used from FFmpeg

This switches some areas of Blender which are related on FFmpeg stuff
from deprecated symbols to currently supported one.

Pretty straightforward changes based on documentation of FFmpeg's
API which symbols should be now used.

This should make Blender compatible with recent FFmpeg 0.11.

Should be no functional changes.

7 years agoPardon, typo in own commit for SCons changes. Also added missed headers.
Sergey Sharybin [Mon, 18 Jun 2012 09:52:41 +0000 (09:52 +0000)]
Pardon, typo in own commit for SCons changes. Also added missed headers.
Should work now.

7 years agoForgot to define WITH_COLLADA in SCons in recent commit
Sergey Sharybin [Mon, 18 Jun 2012 09:48:47 +0000 (09:48 +0000)]
Forgot to define WITH_COLLADA in SCons in recent commit

Also fix some issues with header files:
- Added ifndef .. define .. endif blocks to be sure headers are not
  including twice.
- DO not include WM stuff in headers, use anonymous structure names instead.

7 years agoFix compilation error for SCons
Sergey Sharybin [Mon, 18 Jun 2012 09:20:49 +0000 (09:20 +0000)]
Fix compilation error for SCons

Was missed some scons rules after recent collada changes

7 years agoSVN maintenance.
Guillermo S. Romero [Mon, 18 Jun 2012 01:17:50 +0000 (01:17 +0000)]
SVN maintenance.

7 years agoCollada: fix for building without collada
Gaia Clary [Mon, 18 Jun 2012 00:27:30 +0000 (00:27 +0000)]
Collada: fix for building without collada

7 years agoCollada: fix case of filename
Gaia Clary [Sun, 17 Jun 2012 23:48:51 +0000 (23:48 +0000)]
Collada: fix case of filename

7 years agoCollada: fixed contributor line in CMakeLists.txt
Gaia Clary [Sun, 17 Jun 2012 23:28:29 +0000 (23:28 +0000)]
Collada: fixed contributor line in CMakeLists.txt

7 years agoCollada: Moved interface definitions from wm_operators.c to blender/editors/io
Gaia Clary [Sun, 17 Jun 2012 23:13:39 +0000 (23:13 +0000)]
Collada: Moved interface definitions from wm_operators.c to blender/editors/io

7 years agoCollada: (Exporter) reorganized the export panel
Gaia Clary [Sun, 17 Jun 2012 20:19:44 +0000 (20:19 +0000)]
Collada: (Exporter) reorganized the export panel

7 years agoNow updating of resolution should happen nice when clip's filepath is changing
Sergey Sharybin [Sun, 17 Jun 2012 16:40:16 +0000 (16:40 +0000)]
Now updating of resolution should happen nice when clip's filepath is changing

7 years ago== filebrowser ==
Andrea Weikert [Sun, 17 Jun 2012 14:16:26 +0000 (14:16 +0000)]
== filebrowser ==
fixes:
* Sequence editor not loading file typed in filebrowser file button (reported by Sergey on IRC)
* filename button doesn't match exactly typed in filename

notes:
* file specified in the filename button now gets added to 'files' list, even if not selected
* after matching filename (either by typing in exact match or using wildcards) the first match is assigned to the filename button.

7 years agostyle cleanup: also quiet a warning.
Campbell Barton [Sun, 17 Jun 2012 11:36:28 +0000 (11:36 +0000)]
style cleanup: also quiet a warning.

7 years agostyle cleanup:
Campbell Barton [Sun, 17 Jun 2012 09:58:26 +0000 (09:58 +0000)]
style cleanup:
also fix for building ghost test and fix double free in one of the tests

7 years agoFix for [#31848] "BGE: Commit r47628 breaks custom GLSL material shaders" reported...
Mitchell Stokes [Sun, 17 Jun 2012 07:59:22 +0000 (07:59 +0000)]
Fix for [#31848] "BGE: Commit r47628 breaks custom GLSL material shaders" reported by Alex Fraser.

Custom shaders is a case where the BGE can be using GLSL materials and still need to upload textures without bf_gpu. I tweaked some logic to handle this special case and added more comments.

7 years agoCollada: (Exporter) add 'mesh type selection(view|render)' for Apply modifiers option
Gaia Clary [Sat, 16 Jun 2012 23:35:53 +0000 (23:35 +0000)]
Collada: (Exporter) add 'mesh type selection(view|render)' for Apply modifiers option