Campbell Barton [Thu, 17 Mar 2011 07:02:02 +0000 (07:02 +0000)]
add cancel() method for python defined operators.
Campbell Barton [Thu, 17 Mar 2011 06:57:12 +0000 (06:57 +0000)]
error with TIMEIT util define.
Campbell Barton [Thu, 17 Mar 2011 05:15:54 +0000 (05:15 +0000)]
changed short's to int's image scale and flip functions (images can be bigger then short range)
Campbell Barton [Thu, 17 Mar 2011 04:43:58 +0000 (04:43 +0000)]
fix for [#26524] Api autocomplete more errors
problem was caused by change in python behavior, now hasattr(val, attr) only suppresses attribute exceptions.
Joshua Leung [Thu, 17 Mar 2011 02:53:56 +0000 (02:53 +0000)]
Bugfix: Grease Pencil paint didn't clean up properly after error-exits
This manisfested as an inability to draw any more strokes after trying
to draw a stroke while the active layer was locked and then unlocking
that layer to try and draw on it again.
Campbell Barton [Wed, 16 Mar 2011 22:25:31 +0000 (22:25 +0000)]
fix own error - missing NULL check [#26523] Crash when load factory settings ( linked to rigify add-on ? )
Campbell Barton [Wed, 16 Mar 2011 21:58:45 +0000 (21:58 +0000)]
fix own error [#26522] Api autocomplete return many errors
collections were getting __call__ attribute from the StructRNA, now ignore all starting with '_'
Campbell Barton [Wed, 16 Mar 2011 21:32:20 +0000 (21:32 +0000)]
remove cmake WITH_INSTALL option since its a target now.
Erwin Coumans [Wed, 16 Mar 2011 21:20:24 +0000 (21:20 +0000)]
BGE PhysicsConstraints.exportBulletFile improvement: also export the object names to .bullet files.
Andrea Weikert [Wed, 16 Mar 2011 21:05:24 +0000 (21:05 +0000)]
== filebrowser ==
People had trouble finding the 'Create New Directory' operator button in the file browser. Changed this to show the text as well and make button bigger.
Janne Karhu [Wed, 16 Mar 2011 18:21:31 +0000 (18:21 +0000)]
Fix for [#26520] Point Density turbulence not accessible in Texture Properties.
* Mistake in the ui file.
* Also found a possible memory leak.
Brecht Van Lommel [Wed, 16 Mar 2011 15:44:17 +0000 (15:44 +0000)]
Mac OS X cmake changes and bundle fixes
For cmake users, you should now use "make install" instead of "make". This was
already changed for Linux and Windows. Same for Xcode, use the install target.
Changes:
* CMake install mechanism, resulting bundle was verified to be indentical here.
* For cmake, include Info.plist in bundle using builtin mechanism for that.
There was some code in packaging.cmake, but it wasn't correct as these
properties need to be set on the executable.
* For scons, fix app bundle version, was still using removed release/VERSION.
* Remove unused blendercreator.app and blenderpublisher.app.
* Fix Info.plist being set as a binary file in svn, should be plain text.
Janne Karhu [Wed, 16 Mar 2011 14:21:35 +0000 (14:21 +0000)]
Bug fix: Changing volume texture properties after render crashes (reported by mats on irc)
* Preview render copied the volume texture, but not the actual volumedata, so normal render and preview render clashed.
Janne Karhu [Wed, 16 Mar 2011 13:03:05 +0000 (13:03 +0000)]
Fix for [#26516] Blender crashes for Particle Physics Path Editing.
* Silly own mistake from some previous code cleanup.
Campbell Barton [Wed, 16 Mar 2011 12:21:20 +0000 (12:21 +0000)]
redo panel now runs check() function when defined, filesel and popup dialog were already doing this.
Campbell Barton [Wed, 16 Mar 2011 12:06:12 +0000 (12:06 +0000)]
update x3d test md5s for recent changes, also ensure directory is created or export tests fail.
Campbell Barton [Wed, 16 Mar 2011 08:53:35 +0000 (08:53 +0000)]
api function added for [#26481] Export to X3D of IndexedFaceSet should use X3D 's DEF USE mechanism
Object.is_modified(scene, 'PREVIEW') function for python exporters to check if any modifiers or shape keys are applied (weather the original mesh can be used for exporters).
Brecht Van Lommel [Wed, 16 Mar 2011 01:16:43 +0000 (01:16 +0000)]
Fix nan / black dots in image textures in some corner cases.
Campbell Barton [Tue, 15 Mar 2011 22:30:07 +0000 (22:30 +0000)]
CMake, GCC: replace -Werror=strict-prototypes with -Wstrict-prototypes, some external headers cause this.
Campbell Barton [Tue, 15 Mar 2011 22:24:47 +0000 (22:24 +0000)]
changes to icon loading
- look for icons in datafiles/icons (was looking in datafiles)
- was loading all images in datafiles/ on startup to check if they were the correct icon size, commented this since its unnecessary disk overhead on startup & images are checked for correctness when used anyway.
when running blender from the source dir would load splash.png every time.
also add missing NULL pointer check if the icon couldn't be loaded and ensure no buffer overflow check on icon path creation.
Lukas Toenne [Tue, 15 Mar 2011 19:55:45 +0000 (19:55 +0000)]
Small safety fix: clear temporary link list in node space when copying.
Sergey Sharybin [Tue, 15 Mar 2011 09:04:26 +0000 (09:04 +0000)]
"Fix" #26445: edit mode vertex distortion
Discussed with Campbell, it's not actually bug and it's more about limitation
of topology mirror. It will work properly when both sides of mesh have matching
unique topology.
Added note to tooltip, so now unpredictable behaviour shouldn't confuse users
so much.
Also gray out "Topology mirror" when "X Mirror" is disabled.
Campbell Barton [Tue, 15 Mar 2011 08:38:08 +0000 (08:38 +0000)]
fix for crash with textbox add poll function, missing NULL check.
Campbell Barton [Tue, 15 Mar 2011 08:04:11 +0000 (08:04 +0000)]
fix [#26494] Auto run Python scripts option in User Preferences problem
- opening a file with blender by passing it as an argument would and loading it once in blender left script auto execute flag in a different state.
- command line args --enable/disable-autoexec were being overridden by the user prefs.
Campbell Barton [Tue, 15 Mar 2011 05:00:10 +0000 (05:00 +0000)]
use defines for BKE_read_file, no functional change.
Campbell Barton [Tue, 15 Mar 2011 03:38:15 +0000 (03:38 +0000)]
fix [#26507] Rename bone -> segfault
Campbell Barton [Tue, 15 Mar 2011 03:13:17 +0000 (03:13 +0000)]
fix [#26504] Deselection of vertices not working in UVs editor
Campbell Barton [Tue, 15 Mar 2011 03:02:12 +0000 (03:02 +0000)]
bugfix [#26505] zoom in selected keys on graph editor
measure uv vertex distance in screen pixels rather then image.
Campbell Barton [Tue, 15 Mar 2011 01:48:01 +0000 (01:48 +0000)]
fix for building on some configurations.
Campbell Barton [Tue, 15 Mar 2011 01:31:07 +0000 (01:31 +0000)]
workaround for problem compiling with glu 1.5.8 on windows
Campbell Barton [Tue, 15 Mar 2011 00:08:16 +0000 (00:08 +0000)]
upgrade glew 1.5.1 --> 1.5.8, from the release logs changes are mainly for maintenance & supporting new opengl functions, this also fixes FreeBSD compile error.
Campbell Barton [Mon, 14 Mar 2011 23:52:50 +0000 (23:52 +0000)]
fix [#26503] Copy Mirrored UV coords exception
Campbell Barton [Mon, 14 Mar 2011 23:17:52 +0000 (23:17 +0000)]
pep8 edits and remove commented code from last commit.
Campbell Barton [Mon, 14 Mar 2011 23:02:47 +0000 (23:02 +0000)]
fix/disallow [#26502] segmentationfault on pressing button to browse existing images for UV window
creating RNA within draw functions can free existing RNA, crashing blender when this is already used in the UI.
disallowing this so it raises a python exception.
This was being used to dynamically generate addon categories so for now they are hard coded and we need proper enum-functions for python to do this.
Campbell Barton [Mon, 14 Mar 2011 22:16:35 +0000 (22:16 +0000)]
quiet warning for GCC
Andrea Weikert [Mon, 14 Mar 2011 21:13:30 +0000 (21:13 +0000)]
fix [#26478] New image extension is appended to the old one instead of replacing it
Note:
Extension is replaced with the new extension if it's a known image extension.
Brings back old behaviour, a little bit refined.
Andrea Weikert [Mon, 14 Mar 2011 19:56:13 +0000 (19:56 +0000)]
== filebrowser ==
Cleanup of selection code.
Also fixed bug where selection outside the tiles was clamped and file in last column was selected.
Janne Karhu [Mon, 14 Mar 2011 17:37:51 +0000 (17:37 +0000)]
Fix for [#20171] Properties of Hair are not animateable
* Don't know when this got broken again, but now the "regrow hair" option works like it's supposed to again.
Brecht Van Lommel [Mon, 14 Mar 2011 16:11:56 +0000 (16:11 +0000)]
GNUmakefile: do number of cores detection same as BSD, system_profiler apparently changed between versions.
Ken Hughes [Mon, 14 Mar 2011 16:10:35 +0000 (16:10 +0000)]
Build system
------------
Allow BF_PYTHON_ABI_FLAGS to be specified on the command line for scons.
Brecht Van Lommel [Mon, 14 Mar 2011 15:40:07 +0000 (15:40 +0000)]
Fixes for GNUmakefile on Mac:
* Don't use "make install", doesn't work yet.
* Use total number of cores rather than number of processors.
* Quicker number of cores query, by not asking for all system info.
Ton Roosendaal [Mon, 14 Mar 2011 14:00:15 +0000 (14:00 +0000)]
Bugfix #26498
CTRL+L "Make Links" operators were not using a correct poll(), causing
crash on using it without active object.
Joshua Leung [Mon, 14 Mar 2011 10:45:42 +0000 (10:45 +0000)]
Bugfixes:
- Sync Markers option works for local markers (or any other list of
markers in future) too now.
- Apply Pose to Restpose operator now displays a warning if an action
was found (warning about the action now being invalid)
Campbell Barton [Mon, 14 Mar 2011 10:31:50 +0000 (10:31 +0000)]
bpy.types.libraries.load sphinx doc & examples (doc system needed some updates).
http://www.blender.org/documentation/blender_python_api_2_56_3/bpy.types.BlendDataLibraries.html#bpy.types.BlendDataLibraries.load
Lukas Toenne [Mon, 14 Mar 2011 07:30:49 +0000 (07:30 +0000)]
Measure of precaution: clear the list of temporary links in the node space after loading, in case the file was saved during active modal linking operators.
Campbell Barton [Mon, 14 Mar 2011 06:48:51 +0000 (06:48 +0000)]
auto-complete was moving the selection.
Campbell Barton [Mon, 14 Mar 2011 05:39:07 +0000 (05:39 +0000)]
fix [#26489] Auto completion in console broken
own mistake in r35492.
Campbell Barton [Mon, 14 Mar 2011 05:03:53 +0000 (05:03 +0000)]
move mathutils api changelog into wiki.
Campbell Barton [Mon, 14 Mar 2011 03:49:38 +0000 (03:49 +0000)]
change addon defaults.
- export uv layout enabled.
- 'render_netrender' enabled (still needs being made into an addon).
- export camera data disabled.
Campbell Barton [Mon, 14 Mar 2011 03:34:57 +0000 (03:34 +0000)]
patch [#26495] Adjustable outline width for selected objects
Campbell Barton [Mon, 14 Mar 2011 03:33:21 +0000 (03:33 +0000)]
tag var as unused.
Joshua Leung [Mon, 14 Mar 2011 03:10:23 +0000 (03:10 +0000)]
Bugfix: "Sync Markers" option in Action Editor is now a bit more
useful.
Instead of only working for the "extend" transform mode, standard
transforms now work too now (i.e. grab and scale).
TODO:
This currently only works on Scene markers, though it should be
possible to make this work on a provided list of markers instead...
Campbell Barton [Mon, 14 Mar 2011 01:37:18 +0000 (01:37 +0000)]
RNA API Rename
'create' was used as prefix and suffix, change dupli list functions to use as suffix, this matches obj.animation_data_create() & obj.animation_data_clear().
obj.create_dupli_list() --> obj.dupli_list_create()
obj.free_dupli_list() --> obj.dupli_list_clear()
Don't use 'create' for object to mesh function since other uses of this are for createing data which stays attached, instead use mathutils style naming convention.
obj.create_mesh() --> obj.to_mesh()
Campbell Barton [Mon, 14 Mar 2011 01:00:41 +0000 (01:00 +0000)]
add dir() function for library objects, also was missing call to clear temp flag on exceptions.
Thomas Dinges [Sun, 13 Mar 2011 22:35:54 +0000 (22:35 +0000)]
Readme file:
* 2.56 > 2.56a and 1 grammar fix.
Lukas Toenne [Sun, 13 Mar 2011 22:13:42 +0000 (22:13 +0000)]
Group tree sockets were not being freed after removing.
Lukas Toenne [Sun, 13 Mar 2011 22:07:55 +0000 (22:07 +0000)]
Fix for crashes due to links without fromnode pointers. This can happen with "unfinished" links created during the modal linking operator or when creating links from group tree inputs.
In addition don't store unfinished links in the nodetree->links list any more. This makes code a bit safer because all links in that list can be considered valid now. The temporary bNodeLinkDrag structs used by the modal linking operator are now also stored in a list in SpaceNode, so these links can be drawn too (this separation also allows different display of temporary links, e.g. currently they are drawn on top of all nodes).
Thomas Dinges [Sun, 13 Mar 2011 20:39:15 +0000 (20:39 +0000)]
* Small code cleanup/removal
Lukas Toenne [Sun, 13 Mar 2011 17:23:44 +0000 (17:23 +0000)]
Fixed the node_recurs_check function used to define the order of nodes in ntreeSolveOrder. This was creating equal node levels in some cases (auto-linking viewer to nodes further downstream), leading to falsely detected circular dependencies.
Andrea Weikert [Sun, 13 Mar 2011 17:20:52 +0000 (17:20 +0000)]
fix mistake from commit rev. 33868. The variable icon was a pointer, not an integer icon id (ICON_NONE).
Brecht Van Lommel [Sun, 13 Mar 2011 13:09:18 +0000 (13:09 +0000)]
Fix "make test" on Mac, couldn't find executable.
Brecht Van Lommel [Sun, 13 Mar 2011 13:01:02 +0000 (13:01 +0000)]
RNA: use a different method to set DNA types for BlendData* collections, to
solve issues with c++ api.
Joshua Leung [Sun, 13 Mar 2011 12:26:53 +0000 (12:26 +0000)]
Replaced RNA code in previous commit with a version which should be a
bit safer (less likelyhood of float <-> int corruption)
Joshua Leung [Sun, 13 Mar 2011 12:22:57 +0000 (12:22 +0000)]
Pose Sliding Tools - Custom Property Support + Other bugfixes
- Custom properties are now affected by the Pose Sliding tools too.
This is now more important to support, given that modern rigs use
these a lot for facial expressions/posing. By and large, this should
work fine, though discrete integer values may experience a bit of
trouble
- Fixed potential bugs with the code which detects which F-Curves are
relevant to a PoseBone's transforms (+ custom props). This was prone
to being tricked by certain setups if the names of the bones contained
some of the keywords these were searching for.
- Shuffled some code around: moved bulk of logic out of vec3 case into
new function for single-value, since it was really doing per axis
already
Campbell Barton [Sun, 13 Mar 2011 09:52:49 +0000 (09:52 +0000)]
rna/api: new bezier keys added via fcu.keyframe_points.add() now use auto handles and bezier interpolation.
Sergey Sharybin [Sun, 13 Mar 2011 09:29:47 +0000 (09:29 +0000)]
Make BF_PYTHON_ABI_FLAGS a scons option. Default flags are empty.
Made changed to linux2-config and freebsd*-config. Windows/MacOS are kept
unchanged.
I'm not sure which flags should be used for freebsd systems, so flags for
them also kept empty. Maintainers of this platform, please check which
flags should be used and make changes to rules.
Joshua Leung [Sun, 13 Mar 2011 09:27:28 +0000 (09:27 +0000)]
Bugfix [#26484] delete keyframe in pose mode --> segmentation fault
Campbell Barton [Sun, 13 Mar 2011 06:44:40 +0000 (06:44 +0000)]
Inconsistent use of array_index vs index with animation keyword args.
Settle with 'index' even though the attribute is array_index.
Campbell Barton [Sun, 13 Mar 2011 06:02:20 +0000 (06:02 +0000)]
- lightmap pack wasnt reporting no mesh errors properly.
- cleanup headers.
- cmake on *nix was always writing to /bin/./2.56
Campbell Barton [Sun, 13 Mar 2011 02:44:25 +0000 (02:44 +0000)]
[#26482] Solidify / Animation Opengl render. no texture.
workaround for view3d datamask not being correct on opengl render.
Campbell Barton [Sun, 13 Mar 2011 01:15:14 +0000 (01:15 +0000)]
py/library api: raise an error if a requested member isn't found.
Guillermo S. Romero [Sun, 13 Mar 2011 00:26:46 +0000 (00:26 +0000)]
SVN maintenance.
Campbell Barton [Sat, 12 Mar 2011 23:41:57 +0000 (23:41 +0000)]
quiet stricter compiler warnings/errors.
Joshua Leung [Sat, 12 Mar 2011 23:07:00 +0000 (23:07 +0000)]
Bugfix [#26473] Keyframe values for F-Curves were incorrectly wrapped
in RNA as "translation" values, which implies dimensionality is
incorrect here as F-Curves do not specifically "know" about the type
of the data they affect
Sergey Sharybin [Sat, 12 Mar 2011 22:05:33 +0000 (22:05 +0000)]
Fix for compilation error after bullet upgrade.
There was a typo in source file list.
Erwin Coumans [Sat, 12 Mar 2011 20:34:17 +0000 (20:34 +0000)]
update Bullet physics sdk to latest trunk/version 2.78
add PhysicsConstraints.exportBulletFile(char* fileName) python command
I'll be checking the bf-committers mailing list, in case this commit broke stuff
scons needs to be updated, I'll do that in a second.
Campbell Barton [Sat, 12 Mar 2011 16:06:37 +0000 (16:06 +0000)]
library loading api.
this is not well suited to RNA so this is a native python api.
This uses:
bpy.data.libraries.load(filepath, link=False, relative=False)
however the return value needs to use pythons context manager, this means the library loading is confined to a block of code and python cant leave a half loaded library state.
eg, load a single scene we know the name of:
with bpy.data.libraries.load(filepath) as (data_from, data_to):
data_to.scenes = ["Scene"]
eg, load all scenes:
with bpy.data.libraries.load(filepath) as (data_from, data_to):
data_to.scenes = data_from.scenes
eg, load all objects starting with 'A'
with bpy.data.libraries.load(filepath) as (data_from, data_to):
data_to.objects = [name for name in data_from.objects if name.startswith("A")]
As you can see gives 2 objects like 'bpy.data', but containing lists of strings which can be moved from one into another.
Thomas Dinges [Sat, 12 Mar 2011 15:24:16 +0000 (15:24 +0000)]
2.5 Fluid UI Python Script:
* Code cleanup, no UI changes, reduced code from 1244 lines to 1228 lines.
Campbell Barton [Sat, 12 Mar 2011 15:18:08 +0000 (15:18 +0000)]
py/rna: BPy_reports_to_error() now takes the exception type as an argument and returns -1 as an error value
Campbell Barton [Sat, 12 Mar 2011 15:15:40 +0000 (15:15 +0000)]
pass report list along to BLO_blendhandle_from_file(), avoid unlikely crash in the append operator.
Ton Roosendaal [Sat, 12 Mar 2011 15:09:29 +0000 (15:09 +0000)]
More on bug #26432
More undo-push disabling for switching render slots.
Also added 'undo push' print in debug mode (blender -d)
Campbell Barton [Sat, 12 Mar 2011 14:38:00 +0000 (14:38 +0000)]
- BKE_idcode_iter_step() - function to step over all ID codes.
- BLO_blendhandle_get_datablock_names() now takes an arg for the total items in the list, saves the caller counting.
Campbell Barton [Sat, 12 Mar 2011 14:32:30 +0000 (14:32 +0000)]
py/rna, ability to have python static methods in collections.
Campbell Barton [Sat, 12 Mar 2011 14:21:04 +0000 (14:21 +0000)]
tag/comment unused variables.
Ton Roosendaal [Sat, 12 Mar 2011 14:14:19 +0000 (14:14 +0000)]
Bugreport #26464
Added more clear tooltip to render as B&W file option.
This only works now for PNG, JPEG, TGA and TIFF
Brecht Van Lommel [Sat, 12 Mar 2011 13:15:09 +0000 (13:15 +0000)]
Fix uvedit unwrap tool not taking selection into account.
Janne Karhu [Sat, 12 Mar 2011 12:38:11 +0000 (12:38 +0000)]
Completely refactored sph fluid particles. Only the very core of the algorithm remains
the same, but big changes have happened both on the outside and on the inside.
New UI:
* The old parameters were quite true to the underlying algorithm, but were quite obscure
from a users point of view. Now there are only a few intuitive basic parameters that
define the basic fluid behavior.
** By default particle size is now used to determine the interaction radius, rest
density and spring rest lengths so that it's easy to get stable simulations by simply
emitting particles for a few frames and adjusting the particle size (easy when the
particle size is drawn) so that the fluid appears continuous (particles are touching
eachother).
** Stiffness - in reality most fluids are very incompressible, but this is a very hard
problem to solve with particle based fluid simulation so some compromises have to be
made. So the bigger the stiffness parameter is the less the fluid will compress under
stress, but the more substeps are needed for stable simulation.
** Viscosity - how much internal friction there is in the fluid. Large viscosities also
smooth out instabilities, so less viscous fluids again need more substeps to remain
stable.
** Buoancy - with high buoancy low pressure areas inside the fluid start to rise against
gravity, and high pressure areas start to come down.
* In addition to these basic parameters there are separate advanced parameters that can
either be tweaked relative to the basic parameters (or particle size) or defined
independently.
** Repulsion - the stiffness parameter tries to keep the fluid density constant, but this
can lead to small clumps of particles, so the repulsion keeps the particles better
separated.
** Stiff viscosity - the normal viscosity only applies when particles are moving closer to
eachother to allow free flowing fluids. Stiff viscosity also applies smoothing to
particles that are moving away from eachother.
** Interaction radius - by default this is 4 * particle size.
** Rest density - by default this is a density that the particles have when they're packed
densely next to eachother.
** Spring rest length - by default this is 2 * particle size.
* There are also new options for 3d view particle coloring in the display panel to show
particle velocity and acceleration. These make it easier to see what's happening in the
fluid simulations, but can of course be used with other particles as well.
* Viscoelastic springs have some new options too. The plasticity can now be set to much
higher values for instant deletion of springs as the elastic limit is exeeded. In addition
to that there is an option to only create springs for a certain number of frames when a
particle is born. These options give new possibilities for breaking viscoelastic fluids.
New in the code:
* Most of the fluids code is now thread safe, so when particle dynamics go threaded there
will be a nice speed boost to fluids as well.
* Fluids now use a bvh-tree instead of a kd-tree for the neighbor lookups. The bvh-tree
implementation makes the code quite a bit cleaner and should also give a slight speed
boost to the simulation too.
* Previously only force fields were calculated with the different integration methods, but
now the fluid calculations are also done using the selected integration method, so there
are again more choices in effecting simulation accuracy and stability. This change also
included a nice cleanup of the whole particle integration code.
As the internals are pretty stirred up old particle fluid simulations will probably not
work correctly straight away, but with some tweaking the same level of control is still
available by not using the "relative versions" of the advanced parameters (by default these
are not used when loading old files).
Campbell Barton [Sat, 12 Mar 2011 04:39:43 +0000 (04:39 +0000)]
cmake, search $HOME/py32 for python now too.
Campbell Barton [Sat, 12 Mar 2011 04:31:28 +0000 (04:31 +0000)]
builder reports MSVC was setting stack size to 2gig.
Nicholas Bishop [Sat, 12 Mar 2011 02:12:02 +0000 (02:12 +0000)]
== Sculpt ==
* Removed some fields from struct SculptSession:
- Fields drawobject, projverts, and previous_r were completely
unused
- Field `ob' was really unnecessary, changed sculpt functions
to pass the object rather than the SculptSession
This removal of `ob' from SculptSession should should make it a little
easier to continue generalizing paint/sculpt functionality.
There should be no visible changes from cleanup.
Joshua Leung [Sat, 12 Mar 2011 01:09:40 +0000 (01:09 +0000)]
Bugfix [#26222] Alt-O (smooth) in Graph editor destroys fcurve handle
type and data
Recoded Keyframe Smoothing operator to work better for continuous
curves (i.e. ones with monotonically increasing slopes in sections) as
opposed to hypothetically jagged ones.
The old method assumed that handles should be flat as otherwise, you'd
often get unsmooth curves just because you went and tilted some of the
handles for local extrema, causing some unkeyframed overshoots, which
also leads to changes in timing, which in turn often means unsmooth
motion. Hence, the code took advantage of this to do things with less
extra data.
However, now we have a proper "flatten handles" tool (under snap ->
horizontal) so this functionality is not needed in the general case
where it will lead to stair-stepping artifacts.
Campbell Barton [Sat, 12 Mar 2011 01:03:15 +0000 (01:03 +0000)]
edit scons to use py3.2 on all os's and use 'm' abiflag on linux since this is the most common.
Campbell Barton [Sat, 12 Mar 2011 00:50:34 +0000 (00:50 +0000)]
set 2mb stack for mingw too.
Brecht Van Lommel [Sat, 12 Mar 2011 00:16:55 +0000 (00:16 +0000)]
Fix #25931: strand render + ray traced AO give tile image. The random numbers
for sampling were not consistent, now the RNG is seeded per strand, and some
tweaks were done to make the jittered sampler cache return consistent sample
numbers for strands.
Nathan Letwory [Fri, 11 Mar 2011 23:27:15 +0000 (23:27 +0000)]
Fix [#25659] crash when unwrapping specific mesh
Reported by Jan Hohoho
Running the unwrap causes stack to overflow. Double the size from default 1MB.
Brecht Van Lommel [Fri, 11 Mar 2011 23:12:58 +0000 (23:12 +0000)]
Fix #26035: fix crash building raytree with inf/nan values in raytree. There's
many different checks here, but I couldn't handle all cases in fewer lines.
Brecht Van Lommel [Fri, 11 Mar 2011 22:27:06 +0000 (22:27 +0000)]
Fix #26203: crash with empty raytree, all types should survive this now.
Also added a check for -inf/inf bounding boxes, just to be sure.
Nathan Letwory [Fri, 11 Mar 2011 22:06:18 +0000 (22:06 +0000)]
Some explicit casts to silence warnings (unsafe to mix int and bool in comparisons).
Brecht Van Lommel [Fri, 11 Mar 2011 21:37:17 +0000 (21:37 +0000)]
Fix #25654: strand render with instanced objects was not working right,
some coordinates didn't have the instance matrix applied, while others had
it applied twice.
Ton Roosendaal [Fri, 11 Mar 2011 17:59:40 +0000 (17:59 +0000)]
Bugfix, irc report:
Pressing ESC on material icon preview changes made it stop updating
the icons. Was caused by default 'break' callback testing ESC and
not resetting it. Now it uses same break callback as other previews.