blender.git
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.

8 years agofix [#26765] seperate selection removes all seams from the new /seperated object.
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.

8 years agoremove unused DNA from mesh, effects list & cubemap size.
Campbell Barton [Mon, 4 Apr 2011 04:47:18 +0000 (04:47 +0000)]
remove unused DNA from mesh, effects list & cubemap size.

8 years agonoticed image color info text was impossible to read at 25% alpha with some images...
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.

8 years agodisable continuous grab in the header, its more annoying then useful.
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.

8 years agofix crash with previewing point density colorband, it wasnt being copied with the...
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].

8 years agofix [#26757] Python console: help() doesn't work anymore
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.

8 years agomissed renaming after api modification, used to cycle proportional edit falloffs...
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.

8 years agofix [#26760] Crash on voxel data image sequence file datablock unlink
Campbell Barton [Sun, 3 Apr 2011 22:24:05 +0000 (22:24 +0000)]
fix [#26760] Crash on voxel data image sequence file datablock unlink

8 years agoFixed invalid RNA access in radial brush operators (like strength/size abjustment)
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)

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

8 years agoImage pixel acces, through Image.pixels as floating point values.
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.

8 years agoAdd material slot now adds no material in the new slot.
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.

8 years agoquiet warnings.
Campbell Barton [Sun, 3 Apr 2011 13:17:07 +0000 (13:17 +0000)]
quiet warnings.

8 years agotemp fix for building with msvc2010, this changes recently and gave mingw/msvc2010...
Campbell Barton [Sun, 3 Apr 2011 12:31:53 +0000 (12:31 +0000)]
temp fix for building with msvc2010, this changes recently and gave mingw/msvc2010 troubles

8 years agoquiet various warnings, also disable -Wdouble-promotion with cmake since it gives...
Campbell Barton [Sun, 3 Apr 2011 10:04:16 +0000 (10:04 +0000)]
quiet various warnings, also disable -Wdouble-promotion with cmake since it gives warnings with variable length args.

8 years agofix cmake for when BLENDER_VERSION_CHAR is not set.
Campbell Barton [Sun, 3 Apr 2011 07:48:33 +0000 (07:48 +0000)]
fix cmake for when BLENDER_VERSION_CHAR is not set.

8 years agoreplace while loops with angle_wrap_rad()
Campbell Barton [Sun, 3 Apr 2011 05:29:58 +0000 (05:29 +0000)]
replace while loops with angle_wrap_rad()

8 years agopatch [#26606] Debian spec: Bump to Python 3.2
Campbell Barton [Sat, 2 Apr 2011 21:51:05 +0000 (21:51 +0000)]
patch [#26606] Debian spec: Bump to Python 3.2
also update pacman spec.

8 years agobuildbot:
Sergey Sharybin [Sat, 2 Apr 2011 21:11:22 +0000 (21:11 +0000)]
buildbot:
- Remove packed to buildbot_archive.zip archive file to keep scons install
  directory as clean as possible (if i understood correct, this file isn't
  actually needed in the future, so we could remove it just after packing rather
  than cleaning install directory before packing as it's done for cmake)
- No need in scripts installation for linux slaves when preparing archive

8 years agoCommitting patch [#26740] Interface improvement for toolbar by Brecht. Thanks!
Thomas Dinges [Sat, 2 Apr 2011 16:45:17 +0000 (16:45 +0000)]
Committing patch [#26740] Interface improvement for toolbar by Brecht. Thanks!

This patch makes the bool properties inside the toolshelf more compact, only 1 row per item now. :)

8 years agoIRC report: Proportional editing tooltip lacked, and missed info for
Ton Roosendaal [Sat, 2 Apr 2011 16:29:33 +0000 (16:29 +0000)]
IRC report: Proportional editing tooltip lacked, and missed info for
the menu items.

8 years agoBugfix #26736
Ton Roosendaal [Sat, 2 Apr 2011 15:30:58 +0000 (15:30 +0000)]
Bugfix #26736

Operator "New Image" cannot be redone simply, undo system keeps images
around, and each redo will create new block. Removed it from being
registered for redos.

Also: fix up for default operator names to be complete, and not just
"new" or "load". If we want contextual shortening of operator names
(like in Image menu), that should be handled seprately, automatically,
or anything we can sanely come up with that will suit any possible
language as well.

8 years agoFix register method order. Was broken when Campbell moved it to the C implementation.
Martin Poirier [Sat, 2 Apr 2011 14:58:58 +0000 (14:58 +0000)]
Fix register method order. Was broken when Campbell moved it to the C implementation.

register has to be called AFTER the type is registered while unregister has to be called BEFORE it's unregistered.

8 years agoBugfix #26731
Ton Roosendaal [Sat, 2 Apr 2011 14:11:13 +0000 (14:11 +0000)]
Bugfix #26731

Hotkey operator "Toggle full screen layout" restored previous layout
wrongly when mouse in was top header.

8 years agoReadme.html and Link to Release Log:
Thomas Dinges [Sat, 2 Apr 2011 13:18:33 +0000 (13:18 +0000)]
Readme.html and Link to Release Log:
* Ready for release!
Note: JesterKing: Release notes now point to http://www.blender.org/development/release-logs/blender-257/
Would be cool, if we can use that one.

8 years ago[#26719] Fix AAO Tooltips by Sergej Reich (sergof). Thanks!
Thomas Dinges [Sat, 2 Apr 2011 12:54:17 +0000 (12:54 +0000)]
[#26719] Fix AAO Tooltips by Sergej Reich (sergof). Thanks!

8 years agomove grese pencil layers[i].active (boolean) -> layers.active (GPencil Layer).
Campbell Barton [Sat, 2 Apr 2011 11:06:41 +0000 (11:06 +0000)]
move grese pencil layers[i].active (boolean)  ->  layers.active (GPencil Layer).

8 years agofix [#26732] Colorband bug with compositing.
Campbell Barton [Sat, 2 Apr 2011 07:04:34 +0000 (07:04 +0000)]
fix [#26732] Colorband bug with compositing.
reported on IRC but submitted to the tracker for example file reference.

8 years agopep8 fixes for buildbot
Sergey Sharybin [Sat, 2 Apr 2011 05:53:42 +0000 (05:53 +0000)]
pep8 fixes for buildbot

8 years agoadd angle wrapping functions: angle_wrap_rad(), angle_wrap_deg().
Campbell Barton [Sat, 2 Apr 2011 03:05:49 +0000 (03:05 +0000)]
add angle wrapping functions: angle_wrap_rad(), angle_wrap_deg().
use with mathutils.

8 years agoquiet gcc float -> double promotion warnings.
Campbell Barton [Sat, 2 Apr 2011 02:08:33 +0000 (02:08 +0000)]
quiet gcc float -> double promotion warnings.

8 years agofix [#26727] Make Proxy ignores group offset
Campbell Barton [Sat, 2 Apr 2011 01:36:40 +0000 (01:36 +0000)]
fix [#26727] Make Proxy ignores group offset

8 years ago2.5 Particle UI:
Thomas Dinges [Fri, 1 Apr 2011 22:41:02 +0000 (22:41 +0000)]
2.5 Particle UI:
* Missing colon and not worth a commit message ;-)

8 years ago2.5 Weight Paint UI:
Thomas Dinges [Fri, 1 Apr 2011 22:19:03 +0000 (22:19 +0000)]
2.5 Weight Paint UI:
* Added menu entry for "Set Weight" Tool. Request by venomgfx :)

8 years agoOops, i've forgot that archive is preparing by scons, so stripping should
Sergey Sharybin [Fri, 1 Apr 2011 21:38:04 +0000 (21:38 +0000)]
Oops, i've forgot that archive is preparing by scons, so stripping should
happpen before calling scons (hope, binaries wouldn't be overwritten by it)

8 years ago3D View Toolbar:
Thomas Dinges [Fri, 1 Apr 2011 21:37:40 +0000 (21:37 +0000)]
3D View Toolbar:
* Code cleanup

8 years agoInitial support of linux 32/64 bit for buildbot:
Sergey Sharybin [Fri, 1 Apr 2011 21:22:19 +0000 (21:22 +0000)]
Initial support of linux 32/64 bit for buildbot:
- Use the same config as we're using for release builds
- Added stipping (maybe it should be generalized)
- Not software gl packing, bot would be easy to add

Note, that you should have special environment to create
proper linux builts (which would work for everybody)

8 years ago2.5 UI:
Thomas Dinges [Fri, 1 Apr 2011 20:36:27 +0000 (20:36 +0000)]
2.5 UI:
*Brush option "size" had different naming in 3D View / Image Editor.
Ported back name "Radius" to RNA (Brush and ParticleBrush)

Discovered by Bart Crouch. Thanks!

8 years agoComments for mesh normals calculation from Mortem Mikkelsen (aka sparky).
Sergey Sharybin [Fri, 1 Apr 2011 18:35:49 +0000 (18:35 +0000)]
Comments for mesh normals calculation from Mortem Mikkelsen (aka sparky).
We hope it'll help for further workers in this area!

8 years agoPartial fix for #26673: sss + normal map wasn't compatible with previous versions.
Brecht Van Lommel [Fri, 1 Apr 2011 16:01:29 +0000 (16:01 +0000)]
Partial fix for #26673: sss + normal map wasn't compatible with previous versions.

8 years agomodification to api docs so release point to:
Campbell Barton [Fri, 1 Apr 2011 15:13:58 +0000 (15:13 +0000)]
modification to api docs so release point to:
  http://www.blender.org/documentation/blender_python_api_2_57b_release

Development versions point to:
   http://www.blender.org/documentation/blender_python_api_2_57_0

This way updates to api docs after release wont overwrite release docs.

8 years agoBugfix #26691
Ton Roosendaal [Fri, 1 Apr 2011 15:08:45 +0000 (15:08 +0000)]
Bugfix #26691

"Theme default" missed a couple of new colors still.

8 years agofix problem with recent commit [#26717] X-Ray conflict (X-Ray Grease Pencil and Objec...
Campbell Barton [Fri, 1 Apr 2011 14:14:37 +0000 (14:14 +0000)]
fix problem with recent commit [#26717] X-Ray conflict (X-Ray Grease Pencil and Object X-Ray)

8 years ago- bpy.app.release so python scripts can check if the release is stable or not.
Campbell Barton [Fri, 1 Apr 2011 14:04:26 +0000 (14:04 +0000)]
- bpy.app.release so python scripts can check if the release is stable or not.
- edited pose bone matrix description.

8 years agoBugfix #26672
Ton Roosendaal [Fri, 1 Apr 2011 13:56:01 +0000 (13:56 +0000)]
Bugfix #26672

Minor glitch: Add Camera operator showed option "view aligned",
but that doesn't work for camera. Is now hidden.

8 years agoBugfix #26654
Ton Roosendaal [Fri, 1 Apr 2011 12:51:04 +0000 (12:51 +0000)]
Bugfix #26654

A lot of UV tools only work in Image editor, but the operator polls
allowed them to be used in 3d window too, causing crashes in cases.

Also added a poll() check in F6 redo menu.

8 years agoAnimation Editors: Name-based filtering
Joshua Leung [Fri, 1 Apr 2011 12:21:41 +0000 (12:21 +0000)]
Animation Editors: Name-based filtering

I'm finally yielding to months of feature requesting, and adding
support for filtering F-Curves by name, where the "name" here is the
text which is displayed for each F-Curve in the Animation Editor
channel lists.

To use, just enable the magnifying-glass toggle on the DopeSheet
filtering settings, and enter a snippet of text to find within the
names of channels you wish to filter. This is case insensitive, and
currently doesn't support any wildcard/regrex fanciness.

Some examples:
loc  <--- location curves only
x loc <--- x location curves only
x eul <--- x rotation curves only
rot <--- rotation curves only
etc.

8 years agoxray option for grease pencil (on by default), sometimes its nicer not to have lines...
Campbell Barton [Fri, 1 Apr 2011 11:55:21 +0000 (11:55 +0000)]
xray option for grease pencil (on by default), sometimes its nicer not to have lines draw through the mesh.

8 years agofix for memory leak when freeing metastrips from the clipboard.
Campbell Barton [Fri, 1 Apr 2011 09:00:16 +0000 (09:00 +0000)]
fix for memory leak when freeing metastrips from the clipboard.

8 years agofix [#26713] Video Sequencer: Audio mute after making meta strip copy/paste
Campbell Barton [Fri, 1 Apr 2011 08:51:12 +0000 (08:51 +0000)]
fix [#26713] Video Sequencer: Audio mute after making meta strip copy/paste
was not recursively restoring sound strips on paste.

also found many duplicate functions were defining the transform mode as in int but getting as an enum, use enum for both now.

8 years agoworkaround for building blender with mingw, was giving syntax error, for now just...
Campbell Barton [Fri, 1 Apr 2011 06:56:45 +0000 (06:56 +0000)]
workaround for building blender with mingw, was giving syntax error, for now just dont include blender version in the exe for mingw

8 years agofix for cmake / windows from mont29 on IRC.
Campbell Barton [Fri, 1 Apr 2011 06:39:19 +0000 (06:39 +0000)]
fix for cmake / windows from mont29 on IRC.

8 years agoAdd back sculpt mode brush keys.
Campbell Barton [Fri, 1 Apr 2011 06:14:39 +0000 (06:14 +0000)]
Add back sculpt mode brush keys.
Operator for switching brushes based on type, cycling through brushes when multiple exist.

This has the advantages over the old method that it doenst rely on hard coded brush names and if there are multiple brushes of the same type it cycles between them.

also fix error in previous commit which broke number buttons changing brushes.

8 years agowhile looking into adding back brush tool keys found mixed texture/image paint rna...
Campbell Barton [Fri, 1 Apr 2011 04:22:30 +0000 (04:22 +0000)]
while looking into adding back brush tool keys found mixed texture/image paint rna vars, using 'image paint' internally.

8 years agopep8 checker, mostly pedantic style changes but also found an error in mesh_utils...
Campbell Barton [Fri, 1 Apr 2011 02:41:15 +0000 (02:41 +0000)]
pep8 checker, mostly pedantic style changes but also found an error in mesh_utils.mesh_linked_faces()

8 years agousing wrong RNA type in sculpt update.
Campbell Barton [Thu, 31 Mar 2011 17:54:23 +0000 (17:54 +0000)]
using wrong RNA type in sculpt update.

8 years agoBugfix #26687
Ton Roosendaal [Thu, 31 Mar 2011 17:14:31 +0000 (17:14 +0000)]
Bugfix #26687

Using "New scene" operator was setting the screen->scene pointer
after the undo-push, messing up redos or undos immediate after.

8 years agoremove bpy python api from blenderplayer, it was being linked but not initialized...
Campbell Barton [Thu, 31 Mar 2011 15:28:53 +0000 (15:28 +0000)]
remove bpy python api from blenderplayer, it was being linked but not initialized/available.

8 years agoBugfix #26651
Ton Roosendaal [Thu, 31 Mar 2011 15:26:51 +0000 (15:26 +0000)]
Bugfix #26651

If greasepencil became active, making Blender area full or restore
screen from full, the greasepencil handler was still running, using
outdated area pointer. This crashed Blender.

Now greasepencil modal() ends on the case its own stored area does
not exist anymore.

8 years agoblender had no option to add a new scene from the UI, only to copy the existing one.
Campbell Barton [Thu, 31 Mar 2011 14:33:59 +0000 (14:33 +0000)]
blender had no option to add a new scene from the UI, only to copy the existing one.
added a new scene option which doesnt copy any render settings from the previous.

8 years agoexamples for keyframing nested paths. based on report from user der_On's report ...
Campbell Barton [Thu, 31 Mar 2011 12:45:54 +0000 (12:45 +0000)]
examples for keyframing nested paths. based on report from user der_On's report [#25746]

8 years agoFix for [#26694] Quick effects problems: Make Smoke/Fluid on a flat object creates...
Janne Karhu [Thu, 31 Mar 2011 11:49:01 +0000 (11:49 +0000)]
Fix for [#26694] Quick effects problems: Make Smoke/Fluid on a flat object creates flat domain. On a subdivided mesh create no domain.
* Fluidsim has to be before any constructive modifiers.
* Also a bit nicer domain size calculation + a warning message for using flat objects as fluid objects.
* Some code cleanup and clarification too.

8 years agolibrary linked modifiers were not having their ID linked expanded properly.
Campbell Barton [Thu, 31 Mar 2011 11:21:21 +0000 (11:21 +0000)]
library linked modifiers were not having their ID linked expanded properly.
was missing array cap ends, wave map object and shrinkwrap objects.

use modifiers_foreachIDLink() rather then having to list all modifiers ID's in this function.
also add foreachIDLink() for smoke domain.

This fixes a bug where a linked object has as a modifier using an indirectly linked object for the missing cases mentioned above.

8 years agofix for own error r35877, was ignoring #'s in file path by using the digits value...
Campbell Barton [Thu, 31 Mar 2011 10:31:14 +0000 (10:31 +0000)]
fix for own error r35877, was ignoring #'s in file path by using the digits value passed rather then the number of digits in the string.

8 years agofix for issue #2 in report: [#26695] Two fail cases with modifiers targeting linked...
Campbell Barton [Thu, 31 Mar 2011 08:49:52 +0000 (08:49 +0000)]
fix for issue #2 in report: [#26695] Two fail cases with modifiers targeting linked assets
also fix for scene.objects.link() not setting library data as being directly used.

8 years agouse poppups for python UV unwrap operators (since they are too slow to be realtime...
Campbell Barton [Thu, 31 Mar 2011 08:46:41 +0000 (08:46 +0000)]
use poppups for python UV unwrap operators (since they are too slow to be realtime). this change was lost when moving the menu items about.

8 years agofix for a crash when loading a new blend file which had a scene with the same name...
Campbell Barton [Thu, 31 Mar 2011 05:20:48 +0000 (05:20 +0000)]
fix for a crash when loading a new blend file which had a scene with the same name as the old one, the freed backbuffer image from the previous blend file would get reused.
also NULL the bakebuf just incase its accessed in future though at the moment this isnt causing any problems.

8 years agofix for using freed memory in ED_area_newspace() caused by loading webskategirl_bulle...
Campbell Barton [Thu, 31 Mar 2011 04:55:57 +0000 (04:55 +0000)]
fix for using freed memory in ED_area_newspace() caused by loading webskategirl_bullet.blend and rendering which created a new image space.

8 years agofix for crash when running blender with define WITH_PYTHON_SAFETY & no startup.blend...
Campbell Barton [Thu, 31 Mar 2011 04:43:26 +0000 (04:43 +0000)]
fix for crash when running blender with define WITH_PYTHON_SAFETY & no startup.blend was found.
was calling python function when python was not initialized.

8 years agoPose Propagate - Further Tweaks:
Joshua Leung [Thu, 31 Mar 2011 01:37:42 +0000 (01:37 +0000)]
Pose Propagate - Further Tweaks:

- Pose Propagate and Pose Sliding tools now work in the same way as
Pose Library previewing, with regards to selections. If some bones are
selected, then only those will be affected. But if no bones are
selected, then the whole rig gets affected.
- Added a "On Selected Markers" option, which only propagates poses to
frames where there's a selected marker. Animators can combine this
with a "select markers whose name contains..." operator to get an
effective way to manage hand-keyed walk cycles, etc.

8 years agoPropagate Pose Tweaks:
Joshua Leung [Thu, 31 Mar 2011 00:45:52 +0000 (00:45 +0000)]
Propagate Pose Tweaks:
- Renamed "Last Keyframe" mode to "Before End". This mode still just
copies the pose to all keyframes starting from the current frame until
the last one encountered per F-Curve
- "Last Keyframe" mode (new one) now copies the pose to the last
keyframe. This is useful for making animations cyclic (i.e. go to
first keyframe, edit, then Pose->Propagate->To Last Keyframe (Make
Cyclic))

8 years agopy/rna Operator.cancel method didnt have return defined.
Campbell Barton [Wed, 30 Mar 2011 16:44:18 +0000 (16:44 +0000)]
py/rna Operator.cancel method didnt have return defined.

8 years agodidnt mean to commit to Eigen2 since its externally maintained.
Campbell Barton [Wed, 30 Mar 2011 16:21:35 +0000 (16:21 +0000)]
didnt mean to commit to Eigen2 since its externally maintained.

8 years agoincludes for building with gcc 4.6 on fedora.
Campbell Barton [Wed, 30 Mar 2011 16:14:54 +0000 (16:14 +0000)]
includes for building with gcc 4.6 on fedora.
patch from Richard Shaw

8 years agoquiet gcc implicit float -> double warnings & use floats in places.
Campbell Barton [Wed, 30 Mar 2011 16:11:16 +0000 (16:11 +0000)]
quiet gcc implicit float -> double warnings & use floats in places.

8 years agofix [#26685] Cannot exit from "edit mode"
Campbell Barton [Wed, 30 Mar 2011 15:28:38 +0000 (15:28 +0000)]
fix [#26685] Cannot exit from "edit mode"
this does not fix the underlying problem that once in this state you cant exit editmode, only that the layer key bindings dont let the state come about.

Looked into fixing properly but its not so simple since currently object mode operators all use "active_object" which is supposed not to be set when in a hidden layer.

8 years agopass pep8 checker.
Campbell Barton [Wed, 30 Mar 2011 15:02:02 +0000 (15:02 +0000)]
pass pep8 checker.

8 years agoSmall update to the quick effects operators:
Janne Karhu [Wed, 30 Mar 2011 13:35:54 +0000 (13:35 +0000)]
Small update to the quick effects operators:
* "Make fur" now creates a basic fur material for each object (smaller strand tip width and a little bit of surface diffuse)
* If fluid/smoke emitters aren't rendered the objects are also set to draw only in wire mode so that the fluid/smoke can be clearly seen.

8 years agodisallow rna paths resolving to upper case X/Y/Z/X / R/G/B/A, python cant resolve...
Campbell Barton [Wed, 30 Mar 2011 11:51:06 +0000 (11:51 +0000)]
disallow rna paths resolving to upper case X/Y/Z/X / R/G/B/A, python cant resolve these.

8 years agoCOLLADA lights:
Nathan Letwory [Wed, 30 Mar 2011 10:51:01 +0000 (10:51 +0000)]
COLLADA lights:

* simplify export and import, now that we have blender profiles for lights. The vanilla import is now more in line with the specs. If a blender profile is found, skip normal import, use the profile data instead.
* multiply energy into color rgb export (common profile).
* recalc distance taking metrics in account

8 years agoQuick effects operators:
Janne Karhu [Wed, 30 Mar 2011 10:29:32 +0000 (10:29 +0000)]
Quick effects operators:
* A couple of operators to quickly create effects that would otherwise take some time to set up.
* Nice to use for demoing functionality or as a starting point for more complex effects.
* "Make Fur" - Gives every selected mesh object particle fur with a desired density and length.
* "Make Smoke" - Makes each selected object a smoke emitter and creates a new domain object around the emitters with the correct material to render the smoke.
** Has style options for "stream": constant smoke flow, "puff": only create smoke once from the volume of the emitter object, "fire": enable high resolution smoke and set a secondary fire color texture for the domain object.
* "Make Fluid" - Makes every selected object a fluid object (normal/inflow) and has the option to start fluid baking immediately.
* This should provide a nice base for extending these / adding more operators for different effects.

8 years agomodify error when python is not found so as not to confuse users who don't build...
Campbell Barton [Wed, 30 Mar 2011 07:21:41 +0000 (07:21 +0000)]
modify error when python is not found so as not to confuse users who don't build blender.
+ minor edits.