Campbell Barton [Sun, 10 Apr 2011 09:37:04 +0000 (09:37 +0000)]
quiet msvc/mingw compiler warnings.
Thomas Dinges [Sun, 10 Apr 2011 08:29:17 +0000 (08:29 +0000)]
Startup blend:
* Default material missed the mat preview icon.
Thomas Dinges [Sun, 10 Apr 2011 07:53:18 +0000 (07:53 +0000)]
Startup blend:
* Removed the second console in the "Scripting" Screen Layout.
Matt Ebb [Sun, 10 Apr 2011 07:05:22 +0000 (07:05 +0000)]
Labelling fix
Campbell Barton [Sun, 10 Apr 2011 06:06:26 +0000 (06:06 +0000)]
disable new cloth solver by default.
Campbell Barton [Sun, 10 Apr 2011 05:43:34 +0000 (05:43 +0000)]
eltopo cloth solver couldnt be enabled from cmake, also dont use globbing.
Nathan Letwory [Sat, 9 Apr 2011 23:25:52 +0000 (23:25 +0000)]
Enable WINDRES only for MinGW, otherwise we get multiple manifest errors for ie. vs2008
Joseph Eagar [Sat, 9 Apr 2011 23:19:11 +0000 (23:19 +0000)]
=cloth collisions=
Plugged the eltopo library into the cloth solver.
I was playing with it earlier, and it's so easy to
use I decided to quickly put it in (trunk's) cloth.
See http://www.cs.ubc.ca/labs/imager/tr/2009/eltopo/eltopo.html
. The authors are on the bleeding edge of continuous collision
detection (one of them did ILM's cloth sim).
I
don't really have to time to plug it into softbody, particles,
bullet, fluid, etc, but doing so would be pretty straightforward.
I'll leave that up to someone else.
To use, turn on USE_ELTOPO (in cmake) or WITH_BF_ELTOPO in scons.
Nathan Letwory [Sat, 9 Apr 2011 19:46:17 +0000 (19:46 +0000)]
doxygen fix
Nathan Letwory [Sat, 9 Apr 2011 19:23:49 +0000 (19:23 +0000)]
whitespace
Sergey Sharybin [Sat, 9 Apr 2011 18:29:43 +0000 (18:29 +0000)]
Fix crash for Windows+Intel video card configuration
Intel video cards don't work fine with multiple contexts and
have to share the same context for all windows. This could work
incorrect with multiple video cards configuration, so suppose
there'll be no such situation (Intel cards are mostly in portable
devices like notebooks and laptops, where there's actually no
dual video cards). Anyway, it should work much better now.
Non-Intel cards behavior was kept unchanged.
Thanks to Ton for debug session :)
Campbell Barton [Sat, 9 Apr 2011 11:16:37 +0000 (11:16 +0000)]
change in how cmake works with CMAKE_C_STANDARD_LIBRARIES / CMAKE_CXX_STANDARD_LIBRARIES.
if not defined (first run) these are now set blank but can be defined later.
the problem is that scons & cmake builds would link against different libraries since cmake added its own defaults.
now, by default, scons & cmake have the same libraries.
This fixes an obscure crash in MinGW where cmakes default linking with -ladvapi32 would crash on string formatting which used float precision as an argument, eg:
printf("%.*f", 3, value);
...without giving a useful backtrace or pointing to the line of code doing the string formatting.
Nathan Letwory [Sat, 9 Apr 2011 02:23:39 +0000 (02:23 +0000)]
Print out reports on console too (debug and up) as fix for [#26708] "INFO" reports are not displayed
reported by Tom Edwards
Showing of certain reports (ie. info) is very hidden. At least print these to console.
Campbell Barton [Sat, 9 Apr 2011 00:10:29 +0000 (00:10 +0000)]
remove -mwindows flag for scons/mingw, enable manifest & winblender.rc for all windows builds except for msvc2010
Nathan Letwory [Fri, 8 Apr 2011 22:07:17 +0000 (22:07 +0000)]
Add missing defines for .rc file.
Ton Roosendaal [Fri, 8 Apr 2011 16:56:44 +0000 (16:56 +0000)]
Fixes related to using Library files:
- Assigning local materials to library objects disabled
(crashes on undo/redo cases)
- Disabling options in Material buttons to add/remove slots
on library data
- Drawing Object ID template in Object properties, this
allows browse active Object, but especially shows library
status then.
Nathan Letwory [Fri, 8 Apr 2011 15:00:53 +0000 (15:00 +0000)]
Fix small typo in resource define.
Nathan Letwory [Fri, 8 Apr 2011 14:56:31 +0000 (14:56 +0000)]
Clean up linking flags for win32.
Nathan Letwory [Fri, 8 Apr 2011 14:40:43 +0000 (14:40 +0000)]
Clean up linking flags for win64.
Sergey Sharybin [Fri, 8 Apr 2011 14:04:59 +0000 (14:04 +0000)]
Fix for compilation under non-windows platforms -- missed check for
platform before WM_console_toggle call
Campbell Barton [Fri, 8 Apr 2011 13:32:56 +0000 (13:32 +0000)]
add new subtype PROP_COORDS, for generic coordinates that are not to be changed by units.
Nathan Letwory [Fri, 8 Apr 2011 12:49:38 +0000 (12:49 +0000)]
Apply console part of patch [#26044] Windows thumbnails and improved filetype registration
submitted by Tom Edwards
This patch introduces a switch -con and its longer version --start-console. When giving this on cmd-line you'll get the black console window. The new behaviour is to hide it by default. We'll still see briefly the console at startup and during exit, but that's something that cannot be changed.
If you start blender from a cmd.exe, the console will not be hidden.
Campbell Barton [Fri, 8 Apr 2011 12:28:59 +0000 (12:28 +0000)]
fix [#26674] Inconsistency in snapping CursorToSelection between UV_Editor and 3d_View.
Lukas Toenne [Fri, 8 Apr 2011 12:02:30 +0000 (12:02 +0000)]
Minor bugfix in initTransInfo: SpaceImage used even if space type is SPACE_NODE.
Janne Karhu [Fri, 8 Apr 2011 10:28:16 +0000 (10:28 +0000)]
Fix for [#26800] Particle Render "Use Group Count" is shared between different Particle Settings datablocks
* Copying particle settings didn't copy the dupliweights.
Nathan Letwory [Fri, 8 Apr 2011 09:31:13 +0000 (09:31 +0000)]
doxygen comments, removal of superfluous backslash.
Campbell Barton [Fri, 8 Apr 2011 06:47:41 +0000 (06:47 +0000)]
fix [#26803] Libs paths are case sensitive in windows
another case was exposed by this report, making relative paths wasn't case insensitive on windows.
Campbell Barton [Fri, 8 Apr 2011 05:03:02 +0000 (05:03 +0000)]
can't include titles in function examples.
Campbell Barton [Fri, 8 Apr 2011 03:56:15 +0000 (03:56 +0000)]
for thumbnail generation only scale the byte buffer. (was scaling float & byte).
Campbell Barton [Fri, 8 Apr 2011 03:53:40 +0000 (03:53 +0000)]
fix for own assert with image scaling, wasnt working with float images.
Campbell Barton [Fri, 8 Apr 2011 02:21:43 +0000 (02:21 +0000)]
fix [#26830] Blender crashes when opening this file
was linking NLA fcurve modifiers as fcurves (wrong function call).
Campbell Barton [Fri, 8 Apr 2011 01:40:54 +0000 (01:40 +0000)]
change to fcurve keyframe coords broke simplify addon since the property
was no longer wrapped by python as a vector. now fixed size float arrays
with PROP_NONE subtype are wrapped as vectors since its convenient to
have x/y access.
Ton Roosendaal [Thu, 7 Apr 2011 15:48:33 +0000 (15:48 +0000)]
Bugfix #26812
On anim-render, a click in timeline stopped render completely.
The reason for this was a bit wacko code to cope with frame-step
feature (steps of multiple frames).
I thought of fixing that, but instead decided to block any operator
in Blender to change a frame while a render is in progress.
Both render engine and UI are accessing (writing to) the same
data then, which is a bad conflict.
Still a serious weakness of threaded render, but I'll keep
trying to allow this as far as possible :)
Ton Roosendaal [Thu, 7 Apr 2011 13:14:08 +0000 (13:14 +0000)]
Bugfix #26748
Boolean modifier should be restricted to Mesh objects only.
Ton Roosendaal [Thu, 7 Apr 2011 12:36:24 +0000 (12:36 +0000)]
Minor fix, own collection.
Knife cut operator was using int_get where enum_get was meant.
Campbell Barton [Thu, 7 Apr 2011 08:54:43 +0000 (08:54 +0000)]
add margin access [#26806] Missing pack margin for pack islands in UV editor
Campbell Barton [Thu, 7 Apr 2011 08:23:00 +0000 (08:23 +0000)]
fix [#26816] P(separate) an object messes up logic brick links
Campbell Barton [Thu, 7 Apr 2011 07:53:28 +0000 (07:53 +0000)]
Sphinx RNA API changelog generator.
- lists added and removed functions and properties.
- lists renamed properties (does fuzzy comparison using min/max, description, type)
- lists functions with arguments changed.
Committed change log from 2.56 -> 2.57:
http://www.blender.org/documentation/250PythonDoc/change_log.html
Mitchell Stokes [Thu, 7 Apr 2011 04:00:56 +0000 (04:00 +0000)]
Updating BGE dynamic loading docs:
* Adding load_action and verbose keyword args for LibLoad()
* Adding LibList()
Dalai Felinto [Wed, 6 Apr 2011 22:03:02 +0000 (22:03 +0000)]
build fix after commit 36036 reported by Tom Edwards over mailing list
Brecht Van Lommel [Wed, 6 Apr 2011 12:54:47 +0000 (12:54 +0000)]
Fix for Image.pixels set, buffer was not tagged as modified, patch by Domino Marama.
Sergey Sharybin [Wed, 6 Apr 2011 12:30:07 +0000 (12:30 +0000)]
Name unification commit for console toggling operator.
Requested by Dalai, approved by Campbell. Other requested from Dalai
changes were rejected by our Python Departament.
Sergey Sharybin [Wed, 6 Apr 2011 07:24:58 +0000 (07:24 +0000)]
Fixed incorrect RNA access when changing type of sequencer view
Campbell Barton [Wed, 6 Apr 2011 06:47:04 +0000 (06:47 +0000)]
dfelinto noticed text editor section was missing.
Campbell Barton [Wed, 6 Apr 2011 06:29:10 +0000 (06:29 +0000)]
include needed for windows
Campbell Barton [Wed, 6 Apr 2011 06:11:39 +0000 (06:11 +0000)]
cmake/windows, temporarily build without winblender.rc until its fixed, was giving linking error with msvc2010 and isn't essential info.
Campbell Barton [Wed, 6 Apr 2011 06:03:48 +0000 (06:03 +0000)]
fix [#26803] Libs paths are case sensitive in windows
use case insensitive path comparison on windows: BLI_path_cmp
Campbell Barton [Wed, 6 Apr 2011 03:02:40 +0000 (03:02 +0000)]
fix for cmake glew includes (tested with mingw), also made qtcreator project generator work with mingw again
Campbell Barton [Wed, 6 Apr 2011 01:51:43 +0000 (01:51 +0000)]
missed setting WITH_BUILTIN_GLEW on non *nux OS's
also made WITH_PYTHON advanced.
Campbell Barton [Wed, 6 Apr 2011 01:13:01 +0000 (01:13 +0000)]
fix [#26801] Undoing Animation modifiers undoes 2 steps.
also found grease pencil layer operators were not flagged to use undo.
Campbell Barton [Wed, 6 Apr 2011 00:46:06 +0000 (00:46 +0000)]
update test checksums (change in normals caused this). also make all imports write blend files so its easy to check what the imports look like.
Guillermo S. Romero [Wed, 6 Apr 2011 00:22:44 +0000 (00:22 +0000)]
SVN maintenance.
Campbell Barton [Tue, 5 Apr 2011 23:31:01 +0000 (23:31 +0000)]
add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their own glew library.
Campbell Barton [Tue, 5 Apr 2011 12:31:55 +0000 (12:31 +0000)]
minor edits to keyingsets script.
Campbell Barton [Tue, 5 Apr 2011 12:05:47 +0000 (12:05 +0000)]
tooltips were part way of the bottom of the screen (timeline play button for eg)
Joshua Leung [Tue, 5 Apr 2011 11:49:58 +0000 (11:49 +0000)]
"Bugfix" (i.e. feature request in disguise!) [#26772] Delta Scaling,
Rotation and Location don't have Keying Sets
Added Keying Sets for Delta Loc/Rot/Scale settings (aka dLoc/dRot).
These settings could already be found in the Object properties, under
the collapsed "Delta Transforms" panel.
I've added these to the end of the Keying Sets list, since adding any
earlier will end up breaking active Keying Set setting in older files.
Besides, these settings aren't that frequently used either...
Joshua Leung [Tue, 5 Apr 2011 11:04:00 +0000 (11:04 +0000)]
Bugfix [#26792] blender crash when scaling action strip in NLA
Two part bug:
Part 1) NLA Editor menu was calling wrong operator
Part 2) r35829 broke NLA scaling, since it only checked that the
transform mode used was allowed in the Action Editor (probably
confused by Part 1)
Campbell Barton [Tue, 5 Apr 2011 09:33:28 +0000 (09:33 +0000)]
add support for installing addons to custom script path [#26751] installing addon to custom script directory doesn't work
Campbell Barton [Tue, 5 Apr 2011 08:54:13 +0000 (08:54 +0000)]
fix [#26793] Is the Convert function of Grease Pencil normal?
disallow grease pencil conversion in editmode, was setting a new active object.
Campbell Barton [Tue, 5 Apr 2011 08:43:16 +0000 (08:43 +0000)]
comment menu item causing crash [#26792].
Campbell Barton [Tue, 5 Apr 2011 07:26:22 +0000 (07:26 +0000)]
fix for render only drawing wire curves in wire view.
Campbell Barton [Tue, 5 Apr 2011 07:13:23 +0000 (07:13 +0000)]
Commit r33378 adds a red alert to search buttons which have items which are not in the list.
Disable this for pointer buttons since this was intended for vgroups & uvlayers.
Pointer buttons often reference ID's which can be in the 1000+, lookups like this on each button draw is not useful since invalid pointers here will likely crash on scene evaluation.
Campbell Barton [Tue, 5 Apr 2011 06:05:55 +0000 (06:05 +0000)]
fix [#26782] Missing settings in some texture nodes.
also rename noisebasis_2 --> noise_basis_2
Campbell Barton [Tue, 5 Apr 2011 02:58:19 +0000 (02:58 +0000)]
utility function for getting the vector direction the mouse is pointing in a perspective view.
Campbell Barton [Mon, 4 Apr 2011 22:42:43 +0000 (22:42 +0000)]
quiet warning & minor pep8 edits.
Campbell Barton [Mon, 4 Apr 2011 22:40:56 +0000 (22:40 +0000)]
fix [#26785] Curve shows in 3dview regardless of "Only Render"
Andrea Weikert [Mon, 4 Apr 2011 20:32:39 +0000 (20:32 +0000)]
== filebrowser ==
Small fix for recent folders in filebrowser, didn't save correctly when too many folders in the list (more than the currently allowed 10), now skips the oldest entries.
Reported on IRC.
Sergey Sharybin [Mon, 4 Apr 2011 20:31:01 +0000 (20:31 +0000)]
Descriptions for some of curve operators
Sergey Sharybin [Mon, 4 Apr 2011 19:39:47 +0000 (19:39 +0000)]
buildbot: static zlib linking
Force link to zlib for all platforms/tragets to be sure there'll
be no gzopen64 symbol undefined (it was in some dependend library, so
blenderplayer wasn't working in fedora 13 32bit)
Brecht Van Lommel [Mon, 4 Apr 2011 17:28:31 +0000 (17:28 +0000)]
Fix for the fix, making hurried last minute changes is not a good idea :)
Brecht Van Lommel [Mon, 4 Apr 2011 17:10:48 +0000 (17:10 +0000)]
Fix for slow Image.pixels, make it a flat instead of multidimensional array.
Brecht Van Lommel [Mon, 4 Apr 2011 17:09:22 +0000 (17:09 +0000)]
Fix mistake in recent commit to revert some normal changes.
Ton Roosendaal [Mon, 4 Apr 2011 16:58:17 +0000 (16:58 +0000)]
Startup.blend update:
- Clip in 3d window now 1000 (2nd try :)
- Raytrace "Instances" default
Sergey Sharybin [Mon, 4 Apr 2011 16:19:18 +0000 (16:19 +0000)]
Fix #26781: Assigning multiple Materials to Text seems not to work correctly
Problems was in 0-based numbering vs. 1-based. Fonts are getting converted to
displists when they're displaying and here base conversion happens, so no need
in conversion when assigning material to selected text.
This makes indices more inconsistant, but saves compatibility in both of
directions. Maybe in further releases we'll make indices consistent.
Sergey Sharybin [Mon, 4 Apr 2011 15:15:45 +0000 (15:15 +0000)]
Fix for redraw issues when making fast strokes with grab tool in sculpt mode
Join redraw rectangles from previous step and current during one stroke
and reset previous rectangle when stroke is finished. This shouldn't cause problems
with viewport changes during the sculpt session and this should emulate
object boundbox merging for states "before step" and "after step".
At leastm it's more logical because boundbox could not only grow up during
stroke, but it could also shrink down.
Campbell Barton [Mon, 4 Apr 2011 15:13:37 +0000 (15:13 +0000)]
crash fix: screen context editable_bones & visible_bones were not checking for armature type object first.
Ton Roosendaal [Mon, 4 Apr 2011 15:01:22 +0000 (15:01 +0000)]
UI fix:
On dark menu backgrounds, the labels for Option buttons were not using
the theme colors for 'text on menu backdrop'.
Janne Karhu [Mon, 4 Apr 2011 14:35:22 +0000 (14:35 +0000)]
Bug fix: The quick effect operators got broken a bit by the new material slot behavior.
* The operators now add new materials and assign them to the created material slots explicitly.
Ton Roosendaal [Mon, 4 Apr 2011 13:47:34 +0000 (13:47 +0000)]
Bugfix #26761
Texture preview render now doesn't increment/decrement material->texture
user counts anymore. Blenders library.c code could use some overhaul
once to support data relinkage and copying around better. :)
Janne Karhu [Mon, 4 Apr 2011 13:47:28 +0000 (13:47 +0000)]
Fix for [#26747] Crash accessing dynamic hair RNA
* Removed hairkey.co_dynamic. The hairkey access is now simplified so that hairkey.co are the dynamic coordinates whenever the hair is dynamic.
Janne Karhu [Mon, 4 Apr 2011 13:33:31 +0000 (13:33 +0000)]
Fix for [#26750] Particles Can Only Address first 16 Material Indexes
* The rna maximum hadn't been updated when the maximum material count was increased.
Brecht Van Lommel [Mon, 4 Apr 2011 13:02:12 +0000 (13:02 +0000)]
Revert mesh recalculation change that gives different vertex normals based
on smooth/flat flag on faces. This does give better results for low poly
game models, but there's just too much functionality that depends on this
(modifiers, displacey, editmode tools, extrude, ...), that there's not
enough time to fix these before the release.
Campbell Barton [Mon, 4 Apr 2011 10:13:04 +0000 (10:13 +0000)]
fix [#26754] Live Edit and Editing UI scripts don't work
Campbell Barton [Mon, 4 Apr 2011 09:22:06 +0000 (09:22 +0000)]
fix [#26774] Grease Pencil error?
own error with recent change to grease pencil.
Campbell Barton [Mon, 4 Apr 2011 08:47:31 +0000 (08:47 +0000)]
minor edits to view3d toolbar
Campbell Barton [Mon, 4 Apr 2011 07:42:08 +0000 (07:42 +0000)]
fix [#26756] "Release confirms" breaks marker functionality in Timeline
Campbell Barton [Mon, 4 Apr 2011 05:47:04 +0000 (05:47 +0000)]
[#26768] 2.57 - sys.path not initialized properly
we should document this properly (we only have general design docs atm), for now just correct the tooltip.
also update api example docs.
Campbell Barton [Mon, 4 Apr 2011 05:17:23 +0000 (05:17 +0000)]
rename mathutils.Vector/Quaternion difference() method to rotation_difference() since its too vague when applied to vectors.
Campbell Barton [Mon, 4 Apr 2011 04:54:41 +0000 (04:54 +0000)]
fix [#26765] seperate selection removes all seams from the new /seperated object.
patch from Sergy to copy the draw flags, also copy smooth threshold and other flags todo with editing / draw settings.
Campbell Barton [Mon, 4 Apr 2011 04:47:18 +0000 (04:47 +0000)]
remove unused DNA from mesh, effects list & cubemap size.
Campbell Barton [Mon, 4 Apr 2011 04:14:25 +0000 (04:14 +0000)]
noticed image color info text was impossible to read at 25% alpha with some images, set alpha level higher.
Campbell Barton [Mon, 4 Apr 2011 03:25:05 +0000 (03:25 +0000)]
disable continuous grab in the header, its more annoying then useful.
also NULL texture's point density tree data when copying to prevent possible double free.
Campbell Barton [Sun, 3 Apr 2011 23:35:20 +0000 (23:35 +0000)]
fix crash with previewing point density colorband, it wasnt being copied with the texture but was freed, making blenders own data point to freed memory.
found in bug report [#26767].
Campbell Barton [Sun, 3 Apr 2011 23:11:00 +0000 (23:11 +0000)]
fix [#26757] Python console: help() doesn't work anymore
also quiet some warnings & add docstrings to bpy module which was shaowing the GPL header in its help() message.
Campbell Barton [Sun, 3 Apr 2011 22:28:33 +0000 (22:28 +0000)]
missed renaming after api modification, used to cycle proportional edit falloffs with Shift+O.
Campbell Barton [Sun, 3 Apr 2011 22:24:05 +0000 (22:24 +0000)]
fix [#26760] Crash on voxel data image sequence file datablock unlink
Sergey Sharybin [Sun, 3 Apr 2011 20:00:19 +0000 (20:00 +0000)]
Fixed invalid RNA access in radial brush operators (like strength/size abjustment)
Ton Roosendaal [Sun, 3 Apr 2011 16:55:58 +0000 (16:55 +0000)]
Startup.blend update
- make outliner search unrestricted
- clip-end not on 5000 (zbuffer errors), but on 1000
- disabled continious grab
- "duplicate action" default on
- addon svg import default on
Brecht Van Lommel [Sun, 3 Apr 2011 16:17:39 +0000 (16:17 +0000)]
Image pixel acces, through Image.pixels as floating point values.
It's not the most efficient solution, but this can be optimized later. It's
best to copy out all the pixels at once into a list, rather than accessing
them one by one.
Brecht Van Lommel [Sun, 3 Apr 2011 16:11:21 +0000 (16:11 +0000)]
Add material slot now adds no material in the new slot.
It's obviously much better than the two previous behaviors, since you don't
get confusing linked materials, and you don't have useless added materials.