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'
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
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
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.
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.
Campbell Barton [Thu, 21 Jun 2012 07:45:41 +0000 (07:45 +0000)]
falloff options for dilate/erode feather compo node.
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!
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.
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.
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.
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]
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.
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.
Thomas Dinges [Wed, 20 Jun 2012 21:12:38 +0000 (21:12 +0000)]
Cycles XML:
* Add recent integrator options.
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.
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
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.
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.
Campbell Barton [Wed, 20 Jun 2012 17:35:51 +0000 (17:35 +0000)]
fix for use of 2 uninitialized vars in the tiles compositor.
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.
Jeroen Bakker [Wed, 20 Jun 2012 17:04:40 +0000 (17:04 +0000)]
* reset OpenCL innerloop size to 32.
Campbell Barton [Wed, 20 Jun 2012 16:43:48 +0000 (16:43 +0000)]
style cleanup
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)
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.
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.
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.
Campbell Barton [Wed, 20 Jun 2012 14:13:22 +0000 (14:13 +0000)]
removing from group now shows menu to select group to remove.
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
Sergey Sharybin [Wed, 20 Jun 2012 13:32:30 +0000 (13:32 +0000)]
Silent masks "alloc new deform spline" debug print
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
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.
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
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.
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.
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.
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.
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.
Campbell Barton [Tue, 19 Jun 2012 23:08:16 +0000 (23:08 +0000)]
style cleanup: use TRUE/FALSE for ui align args.
Campbell Barton [Tue, 19 Jun 2012 22:17:19 +0000 (22:17 +0000)]
style cleanup
Sergey Sharybin [Tue, 19 Jun 2012 17:57:51 +0000 (17:57 +0000)]
KeyingScreen would now deal properly with clips with Start Frame != 1
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!
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!).
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.
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*
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
Campbell Barton [Tue, 19 Jun 2012 13:20:06 +0000 (13:20 +0000)]
fix for uninitialized memory use in the new compositor.
Jeroen Bakker [Tue, 19 Jun 2012 09:52:52 +0000 (09:52 +0000)]
* fixed defocus background blurin...
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.
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.
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.
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
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.
Bastien Montagne [Mon, 18 Jun 2012 20:22:23 +0000 (20:22 +0000)]
Minor UI message fixes.
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).
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
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.
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!
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).
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.
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.
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.
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? :)
Sergey Sharybin [Mon, 18 Jun 2012 13:46:57 +0000 (13:46 +0000)]
Reverting changes made in r48030 by Campbell's request
Campbell Barton [Mon, 18 Jun 2012 13:01:24 +0000 (13:01 +0000)]
style cleanup
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.
Brecht Van Lommel [Mon, 18 Jun 2012 12:48:51 +0000 (12:48 +0000)]
RNA: add Area and Region window xy coordinates access.
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).
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.
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!
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.
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.
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.
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
Guillermo S. Romero [Mon, 18 Jun 2012 01:17:50 +0000 (01:17 +0000)]
SVN maintenance.
Gaia Clary [Mon, 18 Jun 2012 00:27:30 +0000 (00:27 +0000)]
Collada: fix for building without collada
Gaia Clary [Sun, 17 Jun 2012 23:48:51 +0000 (23:48 +0000)]
Collada: fix case of filename
Gaia Clary [Sun, 17 Jun 2012 23:28:29 +0000 (23:28 +0000)]
Collada: fixed contributor line in CMakeLists.txt
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
Gaia Clary [Sun, 17 Jun 2012 20:19:44 +0000 (20:19 +0000)]
Collada: (Exporter) reorganized the export panel
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
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.
Campbell Barton [Sun, 17 Jun 2012 11:36:28 +0000 (11:36 +0000)]
style cleanup: also quiet a warning.
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
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.
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
Campbell Barton [Sat, 16 Jun 2012 20:20:07 +0000 (20:20 +0000)]
code cleanup: includes, also correct some py example typos
Campbell Barton [Sat, 16 Jun 2012 19:34:38 +0000 (19:34 +0000)]
disable GaussianAlpha from attempting to get a non existing socket - and add an assert if this is attempted.
Campbell Barton [Sat, 16 Jun 2012 16:57:16 +0000 (16:57 +0000)]
style cleanup
Campbell Barton [Sat, 16 Jun 2012 16:50:23 +0000 (16:50 +0000)]
shrink the object struct 8 bytes - remove unused ctime variable.
Campbell Barton [Sat, 16 Jun 2012 15:51:52 +0000 (15:51 +0000)]
code cleanup: make names more logical
Campbell Barton [Sat, 16 Jun 2012 15:32:18 +0000 (15:32 +0000)]
code cleanup: spelling 'multiplyer' --> 'multiplier'
Campbell Barton [Sat, 16 Jun 2012 15:15:05 +0000 (15:15 +0000)]
use ease interpolation for dilate/erode feather option, looks smoother
Campbell Barton [Sat, 16 Jun 2012 14:40:16 +0000 (14:40 +0000)]
support for negative feather dilate/erode
Campbell Barton [Sat, 16 Jun 2012 14:11:30 +0000 (14:11 +0000)]
fix for errors in last commit (dilate/erode has no input)
Joshua Leung [Sat, 16 Jun 2012 13:51:18 +0000 (13:51 +0000)]
Bugfix [#31843] Inserting of visual keys for Damped Track constraint broken
Campbell Barton [Sat, 16 Jun 2012 13:46:20 +0000 (13:46 +0000)]
feather option for dilate/erode node - needed for alpha masks so we can (blur in/out), currently only positive values supported.
Campbell Barton [Sat, 16 Jun 2012 09:52:38 +0000 (09:52 +0000)]
speedup for fast gauss blue (approx 10% - 15%)
- get the image width and height once rather then calculating on every access (was doing min/max subtract).
- use unsigned int's - faster for looping.
Campbell Barton [Sat, 16 Jun 2012 09:18:00 +0000 (09:18 +0000)]
style cleanup
Campbell Barton [Sat, 16 Jun 2012 09:16:24 +0000 (09:16 +0000)]
code cleanup: collada
- when bubble sorting names - dont convert to str::string just to compare strings
- use BLI_linklist_index() to check if an item is in the list
- quiet some warnings
Gaia Clary [Fri, 15 Jun 2012 22:00:25 +0000 (22:00 +0000)]
Collada: (Exporter) Add new option 'deform bones only'