blender.git
8 years agoapi changes needed for for copying old settings to new.
Campbell Barton [Mon, 11 Apr 2011 13:56:58 +0000 (13:56 +0000)]
api changes needed for for copying old settings to new.
- py: bpy.utils.resource_path('USER', 2, 56)
- C: BLI_get_folder_version(id, major, minor, check);

8 years agofix [#26856] Can't change target object in modifier by Ctrl+V
Campbell Barton [Mon, 11 Apr 2011 05:33:43 +0000 (05:33 +0000)]
fix [#26856] Can't change target object in modifier by Ctrl+V

8 years agopatch [#26861] Spelling, Typos, and Grammar
Campbell Barton [Mon, 11 Apr 2011 01:18:25 +0000 (01:18 +0000)]
patch [#26861] Spelling, Typos, and Grammar
- also fix own bad assert from yesterday & remove testing cmake print.

8 years agofix for one of the [#26854] UV issues
Campbell Barton [Mon, 11 Apr 2011 00:49:08 +0000 (00:49 +0000)]
fix for one of the [#26854] UV issues
- add back UV X/Y number buttons, the report points out they are missing.
- set the 2D cursor's subtype to PROP_COORDS (so buttons say x/y now)

8 years agoFix for [#26652] "Audio Muted" in Time Line Editor is not working
Joerg Mueller [Sun, 10 Apr 2011 22:40:37 +0000 (22:40 +0000)]
Fix for [#26652] "Audio Muted" in Time Line Editor is not working
-> The feature was completely missing o_O
Also fixed an ffmpeg seeking bug.

8 years agoBugfix #26842
Ton Roosendaal [Sun, 10 Apr 2011 18:15:24 +0000 (18:15 +0000)]
Bugfix #26842

Compositor: when using RenderLayer nodes from other scenes and FSA,
Blender crashed because these nodes didn't get a 'tag' for refresh.

8 years ago- background job style cleanup.
Campbell Barton [Sun, 10 Apr 2011 15:24:05 +0000 (15:24 +0000)]
- background job style cleanup.
- assert if material assignment is called with lib. (so the callers can be corrected).
- correct example docs

8 years agoUse the same LLIBS set for cmake at Win64 platform as scons uses.
Sergey Sharybin [Sun, 10 Apr 2011 14:44:57 +0000 (14:44 +0000)]
Use the same LLIBS set for cmake at Win64 platform as scons uses.

This fixes linking errors occurred recently for me (kinda of SDL
and registry stuff)

Now it works perfectly, thanks to Campbell for tip :)

8 years agoRedid the previous startup.blend changes by Thomas
Ton Roosendaal [Sun, 10 Apr 2011 13:14:34 +0000 (13:14 +0000)]
Redid the previous startup.blend changes by Thomas
(icon for material, 1 console).
A windows tmp path crept in somehow...

8 years agoFix [#26827] Blender Crashes when it opens corrupt jpeg
Andrea Weikert [Sun, 10 Apr 2011 11:36:29 +0000 (11:36 +0000)]
Fix [#26827] Blender Crashes when it opens corrupt jpeg
* memory corruption when skipping over long marker (was attempting to read over end of file)
* also updated internal jpeg macros to be the same as in jpeg lib

8 years ago[#26848] Keyed Particles seems to be broken
Janne Karhu [Sun, 10 Apr 2011 11:24:29 +0000 (11:24 +0000)]
[#26848] Keyed Particles seems to be broken
* Explode modifier wasn't updated properly when keyed particles were used.
* Explode modifier didn't get correct locations for grid distributed particles.

8 years agominor pep8 edits, also added 'test_pep8' & 'test_cmake' to the GNUmakefile for conven...
Campbell Barton [Sun, 10 Apr 2011 10:45:56 +0000 (10:45 +0000)]
minor pep8 edits, also added 'test_pep8' & 'test_cmake' to the GNUmakefile for convenience.

8 years agoquiet msvc/mingw compiler warnings.
Campbell Barton [Sun, 10 Apr 2011 09:37:04 +0000 (09:37 +0000)]
quiet msvc/mingw compiler warnings.

8 years agoStartup blend:
Thomas Dinges [Sun, 10 Apr 2011 08:29:17 +0000 (08:29 +0000)]
Startup blend:
* Default material missed the mat preview icon.

8 years agoStartup blend:
Thomas Dinges [Sun, 10 Apr 2011 07:53:18 +0000 (07:53 +0000)]
Startup blend:
* Removed the second console in the "Scripting" Screen Layout.

8 years agoLabelling fix
Matt Ebb [Sun, 10 Apr 2011 07:05:22 +0000 (07:05 +0000)]
Labelling fix

8 years agodisable new cloth solver by default.
Campbell Barton [Sun, 10 Apr 2011 06:06:26 +0000 (06:06 +0000)]
disable new cloth solver by default.

8 years agoeltopo cloth solver couldnt be enabled from cmake, also dont use globbing.
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.

8 years agoEnable WINDRES only for MinGW, otherwise we get multiple manifest errors for ie....
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

8 years ago=cloth collisions=
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.

8 years agodoxygen fix
Nathan Letwory [Sat, 9 Apr 2011 19:46:17 +0000 (19:46 +0000)]
doxygen fix

8 years agowhitespace
Nathan Letwory [Sat, 9 Apr 2011 19:23:49 +0000 (19:23 +0000)]
whitespace

8 years agoFix crash for Windows+Intel video card configuration
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 :)

8 years agochange in how cmake works with CMAKE_C_STANDARD_LIBRARIES / CMAKE_CXX_STANDARD_LIBRARIES.
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.

8 years agoPrint out reports on console too (debug and up) as fix for [#26708] "INFO" reports...
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.

8 years agoremove -mwindows flag for scons/mingw, enable manifest & winblender.rc for all window...
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

8 years agoAdd missing defines for .rc file.
Nathan Letwory [Fri, 8 Apr 2011 22:07:17 +0000 (22:07 +0000)]
Add missing defines for .rc file.

8 years agoFixes related to using Library files:
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.

8 years agoFix small typo in resource define.
Nathan Letwory [Fri, 8 Apr 2011 15:00:53 +0000 (15:00 +0000)]
Fix small typo in resource define.

8 years agoClean up linking flags for win32.
Nathan Letwory [Fri, 8 Apr 2011 14:56:31 +0000 (14:56 +0000)]
Clean up linking flags for win32.

8 years agoClean up linking flags for win64.
Nathan Letwory [Fri, 8 Apr 2011 14:40:43 +0000 (14:40 +0000)]
Clean up linking flags for win64.

8 years agoFix for compilation under non-windows platforms -- missed check for
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

8 years agoadd new subtype PROP_COORDS, for generic coordinates that are not to be changed by...
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.

8 years agoApply console part of patch [#26044] Windows thumbnails and improved filetype registr...
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.

8 years agofix [#26674] Inconsistency in snapping CursorToSelection between UV_Editor and 3d_View.
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.

8 years agoMinor bugfix in initTransInfo: SpaceImage used even if space type is SPACE_NODE.
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.

8 years agoFix for [#26800] Particle Render "Use Group Count" is shared between different Partic...
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.

8 years agodoxygen comments, removal of superfluous backslash.
Nathan Letwory [Fri, 8 Apr 2011 09:31:13 +0000 (09:31 +0000)]
doxygen comments, removal of superfluous backslash.

8 years agofix [#26803] Libs paths are case sensitive in windows
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.

8 years agocan't include titles in function examples.
Campbell Barton [Fri, 8 Apr 2011 05:03:02 +0000 (05:03 +0000)]
can't include titles in function examples.

8 years agofor thumbnail generation only scale the byte buffer. (was scaling float & byte).
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).

8 years agofix for own assert with image scaling, wasnt working with float images.
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.

8 years agofix [#26830] Blender crashes when opening this file
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).

8 years agochange to fcurve keyframe coords broke simplify addon since the property
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.

8 years agoBugfix #26812
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 :)

8 years agoBugfix #26748
Ton Roosendaal [Thu, 7 Apr 2011 13:14:08 +0000 (13:14 +0000)]
Bugfix #26748

Boolean modifier should be restricted to Mesh objects only.

8 years agoMinor fix, own collection.
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.

8 years agoadd margin access [#26806] Missing pack margin for pack islands in UV editor
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

8 years agofix [#26816] P(separate) an object messes up logic brick links
Campbell Barton [Thu, 7 Apr 2011 08:23:00 +0000 (08:23 +0000)]
fix [#26816] P(separate) an object messes up logic brick links

8 years agoSphinx RNA API changelog generator.
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

8 years agoUpdating BGE dynamic loading docs:
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()

8 years agobuild fix after commit 36036 reported by Tom Edwards over mailing list
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

8 years agoFix for Image.pixels set, buffer was not tagged as modified, patch by Domino Marama.
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.

8 years agoName unification commit for console toggling operator.
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.

8 years agoFixed incorrect RNA access when changing type of sequencer view
Sergey Sharybin [Wed, 6 Apr 2011 07:24:58 +0000 (07:24 +0000)]
Fixed incorrect RNA access when changing type of sequencer view

8 years agodfelinto noticed text editor section was missing.
Campbell Barton [Wed, 6 Apr 2011 06:47:04 +0000 (06:47 +0000)]
dfelinto noticed text editor section was missing.

8 years agoinclude needed for windows
Campbell Barton [Wed, 6 Apr 2011 06:29:10 +0000 (06:29 +0000)]
include needed for windows

8 years agocmake/windows, temporarily build without winblender.rc until its fixed, was giving...
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.

8 years agofix [#26803] Libs paths are case sensitive in windows
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

8 years agofix for cmake glew includes (tested with mingw), also made qtcreator project generato...
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

8 years agomissed setting WITH_BUILTIN_GLEW on non *nux OS's
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.

8 years agofix [#26801] Undoing Animation modifiers undoes 2 steps.
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.

8 years agoupdate test checksums (change in normals caused this). also make all imports write...
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.

8 years agoSVN maintenance.
Guillermo S. Romero [Wed, 6 Apr 2011 00:22:44 +0000 (00:22 +0000)]
SVN maintenance.

8 years agoadd option WITH_BUILTIN_GLEW, so linux packagers can disable to use their own glew...
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.

8 years agominor edits to keyingsets script.
Campbell Barton [Tue, 5 Apr 2011 12:31:55 +0000 (12:31 +0000)]
minor edits to keyingsets script.

8 years agotooltips were part way of the bottom of the screen (timeline play button for eg)
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)

8 years ago"Bugfix" (i.e. feature request in disguise!) [#26772] Delta Scaling,
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...

8 years agoBugfix [#26792] blender crash when scaling action strip in NLA
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)

8 years agoadd support for installing addons to custom script path [#26751] installing addon...
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

8 years agofix [#26793] Is the Convert function of Grease Pencil normal?
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.

8 years agocomment menu item causing crash [#26792].
Campbell Barton [Tue, 5 Apr 2011 08:43:16 +0000 (08:43 +0000)]
comment menu item causing crash [#26792].

8 years agofix for render only drawing wire curves in wire view.
Campbell Barton [Tue, 5 Apr 2011 07:26:22 +0000 (07:26 +0000)]
fix for render only drawing wire curves in wire view.

8 years agoCommit r33378 adds a red alert to search buttons which have items which are not in...
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.

8 years agofix [#26782] Missing settings in some texture nodes.
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

8 years agoutility function for getting the vector direction the mouse is pointing in a perspect...
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.

8 years agoquiet warning & minor pep8 edits.
Campbell Barton [Mon, 4 Apr 2011 22:42:43 +0000 (22:42 +0000)]
quiet warning & minor pep8 edits.

8 years agofix [#26785] Curve shows in 3dview regardless of "Only Render"
Campbell Barton [Mon, 4 Apr 2011 22:40:56 +0000 (22:40 +0000)]
fix [#26785] Curve shows in 3dview regardless of "Only Render"

8 years ago== filebrowser ==
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.

8 years agoDescriptions for some of curve operators
Sergey Sharybin [Mon, 4 Apr 2011 20:31:01 +0000 (20:31 +0000)]
Descriptions for some of curve operators

8 years agobuildbot: static zlib linking
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)

8 years agoFix for the fix, making hurried last minute changes is not a good idea :)
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 :)

8 years agoFix for slow Image.pixels, make it a flat instead of multidimensional array.
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.

8 years agoFix mistake in recent commit to revert some normal changes.
Brecht Van Lommel [Mon, 4 Apr 2011 17:09:22 +0000 (17:09 +0000)]
Fix mistake in recent commit to revert some normal changes.

8 years agoStartup.blend update:
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

8 years agoFix #26781: Assigning multiple Materials to Text seems not to work correctly
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.

8 years agoFix for redraw issues when making fast strokes with grab tool in sculpt mode
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.

8 years agocrash fix: screen context editable_bones & visible_bones were not checking for armatu...
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.

8 years agoUI fix:
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'.

8 years agoBug fix: The quick effect operators got broken a bit by the new material slot behavior.
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.

8 years agoBugfix #26761
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. :)

8 years agoFix for [#26747] Crash accessing dynamic hair RNA
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.

8 years agoFix for [#26750] Particles Can Only Address first 16 Material Indexes
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.

8 years agoRevert mesh recalculation change that gives different vertex normals based
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.

8 years agofix [#26754] Live Edit and Editing UI scripts don't work
Campbell Barton [Mon, 4 Apr 2011 10:13:04 +0000 (10:13 +0000)]
fix [#26754] Live Edit and Editing UI scripts don't work

8 years agofix [#26774] Grease Pencil error?
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.

8 years agominor edits to view3d toolbar
Campbell Barton [Mon, 4 Apr 2011 08:47:31 +0000 (08:47 +0000)]
minor edits to view3d toolbar

8 years agofix [#26756] "Release confirms" breaks marker functionality in Timeline
Campbell Barton [Mon, 4 Apr 2011 07:42:08 +0000 (07:42 +0000)]
fix [#26756] "Release confirms" breaks marker functionality in Timeline

8 years ago[#26768] 2.57 - sys.path not initialized properly
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.

8 years agorename mathutils.Vector/Quaternion difference() method to rotation_difference() since...
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.