Dalai Felinto [Sat, 3 Dec 2011 23:05:35 +0000 (23:05 +0000)]
Invert Color Cycles Node
as with the HSV node the OSL code is relying on the (yet to be implemented) autorename.
Also the svm code could use mix (svm_lerp) instead:
32 . float3 color_inv = make_float3(1.0f, 1.0f, 1.0f) - color;
35 . . stack_store_float3(stack, out_color, svm_lerp(color_inv, color, factor));
I have a feeling that each node 'program' should have the least program as possible. I'll see with Brecht later.
But overall I don't know if that's any fast. And apart from that I think we will need this kind of function to move to a library if multiple functions linked in are not a problem.
Campbell Barton [Sat, 3 Dec 2011 22:15:13 +0000 (22:15 +0000)]
flush selected vertices when switching from vertex weight paint mode to editmode (as is done with faces).
note - a limitation with mode changing means this isnt used yet with toggling.
Brecht Van Lommel [Sat, 3 Dec 2011 21:27:19 +0000 (21:27 +0000)]
Fix cycles compile issue after last commit.
Campbell Barton [Sat, 3 Dec 2011 20:49:41 +0000 (20:49 +0000)]
shorten very long lines in drawobject.c, (no functional changes)
Campbell Barton [Sat, 3 Dec 2011 20:26:53 +0000 (20:26 +0000)]
fix for weight paint mode drawing selected verts even when it wasnt the active object.
Brecht Van Lommel [Sat, 3 Dec 2011 20:22:21 +0000 (20:22 +0000)]
Fix #29444: cycles problem building BVH with NaN vertices.
Brecht Van Lommel [Sat, 3 Dec 2011 13:16:32 +0000 (13:16 +0000)]
Fix #29483: edge slide gives nan when zoomed in close. Cause was integer
overflow leading to negative value for sqrt().
Campbell Barton [Sat, 3 Dec 2011 06:10:32 +0000 (06:10 +0000)]
add library support for rna collection __contains__, eg
("Cube", "//lib.blend") in bpy.data.objects
Alexander Kuznetsov [Sat, 3 Dec 2011 01:12:57 +0000 (01:12 +0000)]
Enables vc 2010 boost libraries for cmake
Campbell Barton [Fri, 2 Dec 2011 22:14:20 +0000 (22:14 +0000)]
de-duplicate dominant axis calculation, exact same checks were in 6 different places.
added function: axis_dominant_v3(...)
Brecht Van Lommel [Fri, 2 Dec 2011 21:10:29 +0000 (21:10 +0000)]
Fix #27620: improve mesh deform error message when it fails to bind.
Brecht Van Lommel [Fri, 2 Dec 2011 20:49:31 +0000 (20:49 +0000)]
Fix #29477: make proxy gave proxy object the wrong name with OB prefix.
Broke in revision 41125 with BLI_snprintf refactoring, checked other
changes in that commit and they seem to be fine, was just this one.
Dalai Felinto [Fri, 2 Dec 2011 20:36:13 +0000 (20:36 +0000)]
CameraData Input Cycles Node
----------------------------
reviewed and approved by Brecht
Important note:
the camera Z is reverted compared to Blender render.
Now it goes from zero (camera) to positive (in front of the camera)
Brecht Van Lommel [Fri, 2 Dec 2011 19:49:09 +0000 (19:49 +0000)]
Fix #29073: keyframing integer properties now uses linear interpolation
by default, and enums use constant interpolation. Bezier doesn't make
much sense for these.
Brecht Van Lommel [Fri, 2 Dec 2011 19:29:42 +0000 (19:29 +0000)]
Possible fix for #29436: issue with external numpad, that is generating unknown
key events. Disable using these as "key modifier".
Brecht Van Lommel [Fri, 2 Dec 2011 19:08:40 +0000 (19:08 +0000)]
Fix #28539: redraw issue with grease pencil active layer button, this was a regular
button that acted like a toggle, now made it an actual toggle button.
Jens Verwiebe [Fri, 2 Dec 2011 18:09:31 +0000 (18:09 +0000)]
OSX: match quicktime and QTKit export to other formats/codecs
Dalai Felinto [Fri, 2 Dec 2011 16:57:37 +0000 (16:57 +0000)]
HSV Color Node for Cycles
.........................
note, the OSL code has a problem.
In the original node the input and output nodes have the same name (Color).
So this will be fixed here once Brecht come up with a nice autorenaming (or we do a doversion patch) for that.
Brecht Van Lommel [Fri, 2 Dec 2011 15:08:27 +0000 (15:08 +0000)]
Fix #27626: nodes inside groups can't be muted. There was a check here to
disable this, but with recent node muting patch and node group changes it
should work now.
Brecht Van Lommel [Fri, 2 Dec 2011 14:26:28 +0000 (14:26 +0000)]
Cycles:
* Fix broken compile of test app.
* Fix some warnings compiling with gcc for 32 bit.
* More tweaks to avoid extended precision issue from #29301.
Sergey Sharybin [Fri, 2 Dec 2011 13:07:39 +0000 (13:07 +0000)]
Rename clip proxy rebuild function so it's no longer called in the same way
as proxy rebuild function in sequencer.
No functional changes.
Dalai Felinto [Fri, 2 Dec 2011 07:13:48 +0000 (07:13 +0000)]
cycles separateRGB: fix for cuda kernel building.
Array indexing doesn't work there.
I'm yet to setup my CUDA computer, in the meantime this proved to work (tested by Daniel Salazar).
If I found other ways of doing it I get back to that.
Campbell Barton [Fri, 2 Dec 2011 03:16:06 +0000 (03:16 +0000)]
move editmesh derived mesh functions into their own file to match bmesh, without this all merges in this area have to be done manually.
Dalai Felinto [Thu, 1 Dec 2011 22:08:42 +0000 (22:08 +0000)]
renaming BooleanProperty to BoolProperty (rna structs shouldnt affect scripters)
Talked with Brecht and Campbell and they both agreed that bpy.types should match bpy.props
In the ideal world we would rename bpy.props to BooleanProperty. This would break scripts though. So we go for a compromise and at least have some consistency.
Dalai Felinto [Thu, 1 Dec 2011 21:46:10 +0000 (21:46 +0000)]
SeparateRGB and CombineRGB nodes for Cycles materials
reviewed and approved by Brecht
my first OpenCL code \o/
Brecht Van Lommel [Thu, 1 Dec 2011 19:31:36 +0000 (19:31 +0000)]
Cycles: fix glsl error when using light path node.
Sergey Sharybin [Thu, 1 Dec 2011 19:21:58 +0000 (19:21 +0000)]
Check for mvert coords and normals when doing mesh.validate() and set invalid
coordinates to zero and zero-length normals to Z-up direction.
Campbell Barton [Thu, 1 Dec 2011 18:49:42 +0000 (18:49 +0000)]
dynamic paint, possible use of uninitialized value - fix.
Andrew Wiggin [Thu, 1 Dec 2011 18:38:03 +0000 (18:38 +0000)]
Fix for RNA_warning crashing on MSVC release builds
MSVC is not C99-compliant, but with the macro as it was, the "args" part was consuming and dropping one of the params, so the format string wanted N extra args, and there were only N-1... boom, crash! Without "args" this works correctly (checked on MSVC10 release build)
Sergey Sharybin [Thu, 1 Dec 2011 18:26:57 +0000 (18:26 +0000)]
Fixed issue with multiple textures and editmode when VBOs are enabled
Sergey Sharybin [Thu, 1 Dec 2011 18:26:48 +0000 (18:26 +0000)]
Fixed crash caused by recent VBO's changes
Crash was caused by non-initialized original index passing to compareDrawOptions
callback. Due to in some cases it's enough to know indices of faces in final DM
(like for comparing if the same texture used for mesh drawing) assume this
callback receives index in final DM and if it's needed it will make conversion
to original index itself.
This should help reaching extra speed if textured object is affected by
bevel modifiers, i.e.
Campbell Barton [Thu, 1 Dec 2011 17:51:01 +0000 (17:51 +0000)]
- remove redundant line in makesdna pointed out by 'troubled' in IRC
- comment remove unused mesh edge flag.
Brecht Van Lommel [Thu, 1 Dec 2011 16:33:21 +0000 (16:33 +0000)]
Cycles
* Compile all of cycles with -ffast-math again
* Add scons compilation of cuda binaries, tested on mac/linux.
* Add UI option for supported/experimental features, to make it
more clear what is supported, opencl/subdivision is experimental.
* Remove cycles xml exporter, was just for testing.
Sergey Sharybin [Thu, 1 Dec 2011 12:12:39 +0000 (12:12 +0000)]
Slight refactor of VBO code to deal with multiple textures.
Added compareDrawSettings callback to driver mesh's callbacks which are
drawing textured faces (mapped and not mapped). This new callback checks
if two faces are drawing with the same settings (testures, shading etc)
and if they not, flush of faces happens into ogl using glDrawArrays and
next face would be drawn with it's own settings.
Currently implemented compareDrawSettings is used to resolve issue from
bug report only, probably there are extra places where this callback is
needed, but haven't seen configuration where current logic will fail,
so it should be ok.
Also reordered arguments passing to drawMappedFaces DM's callbacks,
so now all drawing callback are accepting list of callbacks and then
userData, instead of using mixed order of callbacks and userData which
was a bit confusing to work with.
This commit fixes:
- #26410: VBO & multitexture doesnt work
- #29464: VBO enabled causes UV coruption
Sergey Sharybin [Thu, 1 Dec 2011 10:25:16 +0000 (10:25 +0000)]
Fix #29469: Latest motion tracking not working.
It was error in CMakeLists.txt caused by automatic bundling script which
expanded variables instead of substituting them as-is.
Fixed both of bundling script and CMakeLists.txt
Brecht Van Lommel [Wed, 30 Nov 2011 16:29:26 +0000 (16:29 +0000)]
Another possible fix for #29301: issue with BVH intersection, reorder code a
bit so that it's more symmetric and resulting float ops are compiled the same
way. Otherwise extended float precision being used in one place and not the
other can make comparisons fail.
Sergey Sharybin [Wed, 30 Nov 2011 16:26:30 +0000 (16:26 +0000)]
Remove MTEX_BUMP_FLIPPED flag which was added temporary when white/black colors
for bump maps were toggled.
Sergey Sharybin [Wed, 30 Nov 2011 15:10:44 +0000 (15:10 +0000)]
Update space text's viewlines even if no text selected. It's needed for
proper positioning to cursor when switching to text datablock in case
there was no datablock opened in text editor.
Sergey Sharybin [Wed, 30 Nov 2011 11:04:57 +0000 (11:04 +0000)]
Forcing multires update when doing multires baking
Prevents issues with missed strokes baked into image when baking from sculpt mode.
Campbell Barton [Wed, 30 Nov 2011 10:04:14 +0000 (10:04 +0000)]
dynamic paint
- replace inline code with existig defvert_find_index()
- use madd_v3_v3fl() func and remove redundant normalize call.
Campbell Barton [Wed, 30 Nov 2011 08:03:20 +0000 (08:03 +0000)]
fix for parenting bug introduced by own commit r42273, adding dummy object didnt initialize delta vectors.
also remove redundant NULL initializers, where the value is initialized immediately after.
Campbell Barton [Wed, 30 Nov 2011 07:39:54 +0000 (07:39 +0000)]
use consistent naming for deform.c, also moved defvert_remove_index into deform.c, was local in modifier code.
Campbell Barton [Wed, 30 Nov 2011 07:11:29 +0000 (07:11 +0000)]
fix [#29450] Mirror Vertex Groups issue
Campbell Barton [Wed, 30 Nov 2011 06:15:35 +0000 (06:15 +0000)]
fix [#29462] libraries.load can't have link=False when relative=True
was doing an unnecessary (and incorrect) library lookup.
Sergey Sharybin [Wed, 30 Nov 2011 06:03:10 +0000 (06:03 +0000)]
Deduplicate code used for drawing text information at the top of space region.
Sergey Sharybin [Wed, 30 Nov 2011 05:34:32 +0000 (05:34 +0000)]
Rename Movie to Movie Clip source for background image
Campbell Barton [Wed, 30 Nov 2011 00:32:13 +0000 (00:32 +0000)]
fix [#29459] Crash making a linked object group local
was an error with make-local refactor & path updating.
Brecht Van Lommel [Tue, 29 Nov 2011 23:00:10 +0000 (23:00 +0000)]
UI: another tweak to panel header drawing, to get the checkboxes positioned right.
Brecht Van Lommel [Tue, 29 Nov 2011 22:57:35 +0000 (22:57 +0000)]
Fix: defining properties would fail with argument update=None instead of not
specifying the argument.
Brecht Van Lommel [Tue, 29 Nov 2011 22:37:16 +0000 (22:37 +0000)]
Fix #27981: opengl render + render slots not working.
This also revealed an issue where the opengl render float buffer was not linear,
and toggling back to a render slot would show wrong colors. Now it converts the
float buffer to linear so that this goes ok, disadvantage is that it's slower.
Brecht Van Lommel [Tue, 29 Nov 2011 21:23:58 +0000 (21:23 +0000)]
Fix #29393: operator preset compatibility issue due to renaming property to
avoid c++ keyword conflict. Added property back now duplicated, code generator
will avoid the conflict and this should keep things compatible.
Campbell Barton [Tue, 29 Nov 2011 21:13:37 +0000 (21:13 +0000)]
fix [#29111] Wrong application of delta scale
apply delta scale as a multiplier & do-versions on existing files.
- bumps subversion to 2.60.6
Dalai Felinto [Tue, 29 Nov 2011 21:05:18 +0000 (21:05 +0000)]
option to disable/enable individual background images
*** use-case:
"I have 10 reference images that overlap each other and every time I want to see one, I need to change the transparency of all the others.
therefore it would be nice to have a little button by each menu to allow enable/disabling individual background images"
To avoid subversioning bump I created a define that is negative (DISABLED) and of course a rna that is a boolean_negative.
Talked with Campbell and he actually prefers this way over do_version, so there it goes.
Sergey Sharybin [Tue, 29 Nov 2011 20:36:34 +0000 (20:36 +0000)]
Reverting previous ZCombine commit.
ZCombine solves particular cases only and confused other cases.
Lukas Toenne [Tue, 29 Nov 2011 20:35:30 +0000 (20:35 +0000)]
Added comments to the workaround made in r42266 (node line drawing bug on Intel hardware). Also did the same workaround to straight line drawing (currently not in use).
Campbell Barton [Tue, 29 Nov 2011 20:22:35 +0000 (20:22 +0000)]
formatting edits (120 width max) and remove some redundant casts
Thomas Dinges [Tue, 29 Nov 2011 20:13:20 +0000 (20:13 +0000)]
Blender 2.61 Release links and readme:
* Updated links to http://www.blender.org/development/release-logs/blender-261/
* Update readme file for 2.61
Antony Riakiotakis [Tue, 29 Nov 2011 20:06:36 +0000 (20:06 +0000)]
Fix link errors for MinGW debug for blenderplayer. This bizarre error, not present in release builds, happens due to name clashes between tracker functions. static-fied them so the linker stops complaining.
Lukas Toenne [Tue, 29 Nov 2011 19:50:34 +0000 (19:50 +0000)]
Fix for errors in node line drawing on some Intel hardware (bug #29427). This seems to be caused by a driver bug that breaks GL_LINE_STRIP drawing in combination with color changes inside the begin/end block. Simply replacing by GL_LINES seems to fix the problem and should not cause trouble for this small amount of drawing.
There has been a comment on the bug tracker about similar issues with drawing in logic buttons, this should be checked as well (Note on the bf-committers ML).
Campbell Barton [Tue, 29 Nov 2011 19:40:27 +0000 (19:40 +0000)]
treat 4d vectors as 3d for vector.angle(other)
Brecht Van Lommel [Tue, 29 Nov 2011 18:37:10 +0000 (18:37 +0000)]
Fix #27696: record animation in game engine not working with pre made fcurves.
Sergey Sharybin [Tue, 29 Nov 2011 17:41:15 +0000 (17:41 +0000)]
Added Z-Combine node to default tracking scene setup
Sergey Sharybin [Tue, 29 Nov 2011 17:26:48 +0000 (17:26 +0000)]
Fixed wrong operator usage in clip editor's reconstruction menu
Brecht Van Lommel [Tue, 29 Nov 2011 15:46:33 +0000 (15:46 +0000)]
Fix #29028: dupli objects missing speed vectors. Check for avoiding creation of
speed vectors was checking object instead of object instance layer, which is the
one that is actually used for render layer checks.
Sergey Sharybin [Tue, 29 Nov 2011 15:45:16 +0000 (15:45 +0000)]
Fix for memory leak in multires baker.
Sergey Sharybin [Tue, 29 Nov 2011 15:26:46 +0000 (15:26 +0000)]
Fix #27328: Undoing an operation while baking fluids freezes Blender
Prevent Undo be run if there are any jobs are currently running.
This also makes sense with such jobs as multires baker, for example.
Bastien Montagne [Tue, 29 Nov 2011 14:49:47 +0000 (14:49 +0000)]
Fixes and tweaks to RNA messages (found while translating in french).
Also moved traditional chinese to "almost done" part of translation menu.
Brecht Van Lommel [Tue, 29 Nov 2011 12:12:12 +0000 (12:12 +0000)]
Fix #29411: displacement texture not working anymore, seems part of delta
scale patch got accidentally committed in revision 41485, reverted now.
Campbell Barton [Tue, 29 Nov 2011 10:54:47 +0000 (10:54 +0000)]
remove header text:
"The Blender Foundation also sells licenses for use in proprietary software under the Blender Licens"
also remove NaN references from files that have been added since blender went opensource.
Campbell Barton [Tue, 29 Nov 2011 10:34:23 +0000 (10:34 +0000)]
missed removing these files
Campbell Barton [Tue, 29 Nov 2011 10:28:52 +0000 (10:28 +0000)]
patch [#29421] Python Noise Module Updates
from Andrew Hale (trumanblending)
Tracker description
*******************
The current python noise module included with Blender has yet to be updated to the new Py API. This patch does so, with the following major points:
- The noise module has now been moved to a submodule of mathutils, it can be accessed by mathutils.noise. It was moved from it's own module as it will now return mathutils types and also have greater visibility to the user.
- All functions which return vectors will now return mathutils.Vector types to be consistent with the rest of the API. Previously (x, y, z) tuples were returned.
- A different implementation of random_unit_vector is now used, this allows 2D, 3D and 4D vectors to be returned. Previously only 3D was possible.
- Some function names have been changed to remove ambiguities and make naming consistent within the module. noise.vector is now noise.noise_vector and noise.vl_vector is now noise.variable_lacunarity
- Doc strings have been updated to be compatible with auto docs.
- Code style and internal naming has been changed to match the conventions in other mathutils code.
Thanks,
Andrew
Sergey Sharybin [Tue, 29 Nov 2011 08:36:24 +0000 (08:36 +0000)]
Fix #29443: Outliner buttons hover on shrink
Issue was caused by drawing icon instead of button due to column clip.
This icons was drawing without taking icons' alpha into account.
Campbell Barton [Tue, 29 Nov 2011 06:50:18 +0000 (06:50 +0000)]
remove unused vars & minor formatting.
Campbell Barton [Tue, 29 Nov 2011 06:34:11 +0000 (06:34 +0000)]
avoid allocating verts & faces for dupliface + editmode.
Jason Hays [Tue, 29 Nov 2011 02:23:59 +0000 (02:23 +0000)]
The locking + multi-paint section of code needed correction and simplification:
The ratios were only being maintained between the altered weights when they were redistributed,
and the resulting weights did not fully respect the locks--now they do.
Campbell Barton [Tue, 29 Nov 2011 01:05:26 +0000 (01:05 +0000)]
fix for crash adding empty object
Sergey Sharybin [Mon, 28 Nov 2011 21:48:49 +0000 (21:48 +0000)]
Camera tracking: SAD tracker now supports patterns with any size
(rectangle patterns are getting enlarged to square like it's happening for KLT)
Bastien Montagne [Mon, 28 Nov 2011 19:22:26 +0000 (19:22 +0000)]
Now wiki link in help menu opens the 2.6 index... Better to do it now than one day before release, and good incitation to finish 2.5/6 index before release!
Sergey Sharybin [Mon, 28 Nov 2011 17:55:01 +0000 (17:55 +0000)]
Reset V3D_RENDER_SHADOW flag on file loading.
This flag shouldn't be saved in .blend files but because of strange reason
some files contains this flags which leads to object disappearing when
disabling buffer shadow in material. Current trunk shouldn't be saving
this flag and most probably buggy files were saved in some intermediate
version of blender where this flag can be be saved.
This should fix remained issue in #29255: Object invisible and weird polygons appearance
Campbell Barton [Mon, 28 Nov 2011 17:19:25 +0000 (17:19 +0000)]
corrections for docs
Thomas Dinges [Mon, 28 Nov 2011 17:10:32 +0000 (17:10 +0000)]
* Never, ever use "col2" or something like that as UI variable name.
Campbell Barton [Mon, 28 Nov 2011 16:44:17 +0000 (16:44 +0000)]
view3d - replace magic numbers with an enum to be used with mesh_foreachScreenVert, mesh_foreachScreenEdge since it wasnt clear how the values are used.
also resolved use of un-initialized variable.
Sergey Sharybin [Mon, 28 Nov 2011 16:25:42 +0000 (16:25 +0000)]
Fix #29434: Cone collision bounds is on the wrong axis
Because of strange reason, cone boundbox was rotated and it wasn't
reflecting physics engine which used "correct" cone boundbox.
Changed displaying of cone bounding box type.
Sergey Sharybin [Mon, 28 Nov 2011 16:10:50 +0000 (16:10 +0000)]
Rename tracking settings presets to something which makes more sense.
Bastien Montagne [Mon, 28 Nov 2011 15:41:32 +0000 (15:41 +0000)]
Fixes and tweaks to RNA messages (found while translating in french).
Also setting better default values in WeightVGProximity modifier
Brecht Van Lommel [Mon, 28 Nov 2011 14:55:35 +0000 (14:55 +0000)]
Fix #29389: cycles viewport render not updating on frame changes. This sort of
worked by accident before, because of flags that weren't cleared properly. Now
moved the call to update render engines into scene_update_* itself.
Sergey Sharybin [Mon, 28 Nov 2011 13:49:42 +0000 (13:49 +0000)]
Camera tracking: moved camera solver into it's own job
In some cases solving can take a while (especially when refining is used)
and keeping interface locked is a bit annoying. Now camera solver is moved
to job system and interface isn't locking.
Reporting progress isn't really accurate, but trying to make it more linear
can lead to spending more effort on it than having benefit. Also, changing
status in the information line helps to understand that blender isn't hang
up and solving is till working nicely.
Main changes in code:
- libmv_solveReconstruction now accepts additional parameters:
* progress_update_callback - a function which is getting called
from solver algorithm to report progress back to Blender.
* callback_customdata - a user-defined context which is passing
to progress_update_callback so progress can be updated in needed
blender-side data structures.
This parameters are optional.
- Added structure MovieTrackingStats which is placed in MovieTracking
structure. It's supposed to be used for displaying information about
different operations (currently it's only camera solver, but can be
easily used for something else in the future) in clip editor.
This statistics structure is getting allocated for time operator is
working and not saving into .blend file.
- Clip Editor now displays statistics stored in MovieTrackingStats structure
like it's done for rendering.
Sergey Sharybin [Mon, 28 Nov 2011 13:27:48 +0000 (13:27 +0000)]
Camera tracking: missed this presets files in previous commit
Sergey Sharybin [Mon, 28 Nov 2011 13:26:46 +0000 (13:26 +0000)]
Camera tracking: merging tracking presets stuff from tomato branch
This commit implements:
- Configurable settings for newly creating tracks
Now it's possible to set tracking algorithm and it's settings for
all newly creating tracks including manual tracks creation and
tracks creation by "Detect Features" operator.
- Moves margin, frames limit and adjust frame inside per-track
settings.
Was request from Francois for this.
- Adjust Frames replaced with menu called Pattern Match where it's
possible to choose between matching pattern from keyframe frame
or from previously tracked frame.
Didn't see somebody used adjust frames values differ from 0 and 1,
and this menu should make things more clear here/
Antony Riakiotakis [Mon, 28 Nov 2011 08:38:08 +0000 (08:38 +0000)]
remove duplicate extern_colamd from blenderplayer cmake
Sergey Sharybin [Mon, 28 Nov 2011 07:18:53 +0000 (07:18 +0000)]
Fix typo in track selection operator.
Found by Campbell Barton, thanks.
Campbell Barton [Mon, 28 Nov 2011 07:02:38 +0000 (07:02 +0000)]
fix for building as a python module
Campbell Barton [Mon, 28 Nov 2011 03:01:06 +0000 (03:01 +0000)]
Superficial changes for bmesh bevel to sync with bmesh branch, also noticed length comparison can be done without sqrt for baking.
Campbell Barton [Sun, 27 Nov 2011 23:41:01 +0000 (23:41 +0000)]
quiet some warnings and logical errors.
- curve map insert point had a nested loop which used the same value to index different arrays.
- dynamic paint used ternary operator where both outcomes were the same.
Campbell Barton [Sun, 27 Nov 2011 21:11:17 +0000 (21:11 +0000)]
BLI_mempool_findelem() only worked when no elements were freed, use the iterator for now.
Sergey Sharybin [Sun, 27 Nov 2011 19:27:13 +0000 (19:27 +0000)]
Do not use search area of unselected tracks when searching for nearest
track on mouse selection operator.
Sergey Sharybin [Sun, 27 Nov 2011 19:21:49 +0000 (19:21 +0000)]
Buildbot configuration tweaks
- Force libsamplerate linking statically
- Remove global compiler flags for sse2 and sse.
Tests of release builds didn't show big difference in time of
tracking using SAD algorithm or time of solving,
so this shouldn't introduce big slowdown.
Sergey Sharybin [Sun, 27 Nov 2011 19:17:59 +0000 (19:17 +0000)]
Camera tracking: refactor of tracks synchronization stuff
Currently this stuff is used for 2d tracking job only, but the same
thing would necessary for camera solver job, so moved it into more
general utility stuff.
Campbell Barton [Sun, 27 Nov 2011 14:13:10 +0000 (14:13 +0000)]
accessing rna 'default_flag' attribute of a non enum-flag could crash. eg.
bpy.types.Modifier.bl_rna.properties["type"].default_flag
now check the default/default_flag match the enum property they are used with.
Brecht Van Lommel [Sun, 27 Nov 2011 14:06:47 +0000 (14:06 +0000)]
UI: tweak to panel header padding, made region expander a bit smaller and
fix bug #29422, left expander drawing over adjacent editor.