10 years agoskip some calculations with the wave modifier - when the vert has no vgroup weight...
Campbell Barton [Thu, 28 Apr 2011 05:34:11 +0000 (05:34 +0000)]
skip some calculations with the wave modifier - when the vert has no vgroup weight or 0.0 falloff.

10 years agofix [#27186] Wave modifier falloff
Campbell Barton [Thu, 28 Apr 2011 05:19:17 +0000 (05:19 +0000)]
fix [#27186] Wave modifier falloff
regression from 2.4x (own fault)

10 years agorename duplicate header defines & remove unused var.
Campbell Barton [Thu, 28 Apr 2011 05:15:47 +0000 (05:15 +0000)]
rename duplicate header defines & remove unused var.

10 years agofix for fix, was incorrectly looping over regions.
Campbell Barton [Wed, 27 Apr 2011 14:53:45 +0000 (14:53 +0000)]
fix for fix, was incorrectly looping over regions.

10 years agoremove .Bfs, its not used anymore.
Campbell Barton [Wed, 27 Apr 2011 13:13:07 +0000 (13:13 +0000)]
remove .Bfs, its not used anymore.

10 years agobuildbot: switch to ffmpeg 0.6.3
Sergey Sharybin [Wed, 27 Apr 2011 12:50:47 +0000 (12:50 +0000)]
buildbot: switch to ffmpeg 0.6.3

10 years agoFix #27176: Creating a new UV layer in edit mode fails to copy previous one
Sergey Sharybin [Wed, 27 Apr 2011 08:35:03 +0000 (08:35 +0000)]
Fix #27176: Creating a new UV layer in edit mode fails to copy previous one

Implemented copying data from active MTFACE layer to newly created.
Also, fixed the same bug with vertex colors layer.

10 years agofix [#27174] World Starfield Generation causes crash
Campbell Barton [Wed, 27 Apr 2011 08:32:20 +0000 (08:32 +0000)]
fix [#27174] World Starfield Generation causes crash
allow escaping from render if generating stars takes too long.

10 years agofix [#27164] uv unwrap stretching
Campbell Barton [Wed, 27 Apr 2011 07:36:34 +0000 (07:36 +0000)]
fix [#27164] uv unwrap stretching

10 years agocomment regarding bug [#27175] UV faces show incorrect image in object mode (VBO's)
Campbell Barton [Wed, 27 Apr 2011 05:12:07 +0000 (05:12 +0000)]
comment regarding bug [#27175] UV faces show incorrect image in object mode (VBO's)

10 years agoremove normalize call in derived mesh GetNormal, its not done anywhere else.
Campbell Barton [Wed, 27 Apr 2011 04:57:57 +0000 (04:57 +0000)]
remove normalize call in derived mesh GetNormal, its not done anywhere else.

10 years agoFix for bug #26590, `Texture preview fails when path to custom brush
Nicholas Bishop [Wed, 27 Apr 2011 01:16:24 +0000 (01:16 +0000)]
Fix for bug #26590, `Texture preview fails when path to custom brush
icon is set'

* Main problem was calling BKE_icon_changed too much, blocked previews
  from updating
* Also fixed clearing the icon when it's not a valid image path

10 years agofixed some issues with the new "shadow only + shading" code.
M.G. Kishalmi [Tue, 26 Apr 2011 15:29:12 +0000 (15:29 +0000)]
fixed some issues with the new "shadow only + shading" code.
patch from MiikaH.

10 years agoAdding support for adding copies of existing drivers to other animdata
Joshua Leung [Tue, 26 Apr 2011 13:49:40 +0000 (13:49 +0000)]
Adding support for adding copies of existing drivers to other animdata
blocks via PyAPI/RNA

For example:
ob = bpy.context.active_object # assumes default cube has some drivers
added already before running script
dst =["Camera"]

adt = dst.animation_data_create()
for driver in ob.animation_data.drivers:
    new_driver = adt.drivers.from_existing(driver)

10 years agoBump version for imminent 2.57b tag.
Nathan Letwory [Tue, 26 Apr 2011 12:24:08 +0000 (12:24 +0000)]
Bump version for imminent 2.57b tag.

10 years ago- fix for player linking
Campbell Barton [Tue, 26 Apr 2011 10:38:18 +0000 (10:38 +0000)]
- fix for player linking
- added notes to release todo's.
- renamed view3d view transform matching functions.
- added assert in edge split modifier to make a certain bug easier to spot.

10 years agofix [#27178] Material links lost when making mesh data local
Campbell Barton [Tue, 26 Apr 2011 07:17:21 +0000 (07:17 +0000)]
fix [#27178] Material links lost when making mesh data local
- making local object data - Curve/Mesh/MBall lost references to linked materials.
- joining a linked mesh object into a local one lost the link.

As well as these reported bugs, checked all local functions for consistency/correctness and found other cases which would also fail.
- making local metaball didn't ensure unique ID name.
- make_local_armature() was missing check for object users - main body of code would never run.
- local particles didn't set the dupli-group or textures to extern.

checked all local functions for consistency/correctness.

10 years agofix [#26993] Edge Split Crash
Campbell Barton [Mon, 25 Apr 2011 16:24:38 +0000 (16:24 +0000)]
fix [#26993] Edge Split Crash

10 years agoindentation changes only.
Campbell Barton [Mon, 25 Apr 2011 16:02:53 +0000 (16:02 +0000)]
indentation changes only.

10 years ago2.5 Interface:
Thomas Dinges [Mon, 25 Apr 2011 13:47:15 +0000 (13:47 +0000)]
2.5 Interface:
* Implemented a new operator "WM_OT_properties_context_change" to switch to a different tab inside the properties window.
* This is used now inside the Modifier tab for Simulation Modifiers. Based on a mockup by Janne Karhu:

Rather than having a delete button there anymore, the button changes the context to Physics/Particles, where you can edit the settings and delete the actual simulation.

10 years agoworkaround/fix [#27162] Running commands in python console crashes blender
Campbell Barton [Mon, 25 Apr 2011 12:39:53 +0000 (12:39 +0000)]
workaround/fix [#27162] Running commands in python console crashes blender

10 years agoFix for [#27112] Boid Particles get Z clamped to 0.0 when "Allow Flighting"
Janne Karhu [Mon, 25 Apr 2011 12:26:33 +0000 (12:26 +0000)]
Fix for [#27112] Boid Particles get Z clamped to 0.0 when "Allow Flighting"
* Boids that can only fly shouldn't care about ground unless there's actually a collision object below them.

10 years agofix [#27139] Value Slider, some colours are two coloured
Campbell Barton [Mon, 25 Apr 2011 11:52:42 +0000 (11:52 +0000)]
fix [#27139] Value Slider, some colours are two coloured

10 years agofix [#27121] Normals always recalculated when adding a mesh in Edit mode
Campbell Barton [Mon, 25 Apr 2011 10:04:07 +0000 (10:04 +0000)]
fix [#27121] Normals always recalculated when adding a mesh in Edit mode

10 years agofix for a crash with the following steps.
Campbell Barton [Mon, 25 Apr 2011 09:28:52 +0000 (09:28 +0000)]
fix for a crash with the following steps.
- open file sel
- save user defaults
- new file
- ctrl+u (crash)

wasn't type checking the space file, passed info space to ED_fileselect_exit().

10 years agofix [#27140] Negative Subdiv level in the operator panel.
Campbell Barton [Mon, 25 Apr 2011 06:44:43 +0000 (06:44 +0000)]
fix [#27140] Negative Subdiv level in the operator panel.
when relative option is disabled, don't allow setting the subdiv value to a negative number.

10 years agoDisplace Modifier - Optimisation Tweaks for jpbouza and ZanQdo
Joshua Leung [Mon, 25 Apr 2011 06:27:32 +0000 (06:27 +0000)]
Displace Modifier - Optimisation Tweaks for jpbouza and ZanQdo

- When strength is 0, there's no need to perform any of the
calculations at all
- When the vertexgroup weight for a vert is set to 0, skip evaluating
the modifier for that vertex as it should result in no-change to the
final result

10 years agorna api
Campbell Barton [Mon, 25 Apr 2011 03:02:26 +0000 (03:02 +0000)]
rna api
- allow RegionView3D.view_matrix to be set.
- RegionView3D.view_rotation was inverted.
- add C function view3d_settings_from_mat()
note, intentionally removed NULL checks, double checked this is ok with callers.

10 years ago2.5 UI scripts:
Thomas Dinges [Sun, 24 Apr 2011 20:59:19 +0000 (20:59 +0000)]
2.5 UI scripts:
* Small cleanup of code and descriptions.

10 years agofix crash [#27158] Appending crash with preview.
Campbell Barton [Sun, 24 Apr 2011 14:45:49 +0000 (14:45 +0000)]
fix crash [#27158] Appending crash with preview.

10 years agoharmless changes to quiet clang static check warnings.
Campbell Barton [Sun, 24 Apr 2011 10:51:45 +0000 (10:51 +0000)]
harmless changes to quiet clang static check warnings.
- made EXPANDED_AGRP take bAnimContext as an argument.
- remove unneeded NULL check drawFacesColored functions.
- comment some vars which are set but not used.

10 years agoAnother fix for node groups: Internal socket stack did not get complete initializatio...
Lukas Toenne [Sun, 24 Apr 2011 05:13:35 +0000 (05:13 +0000)]
Another fix for node groups: Internal socket stack did not get complete initialization of the sockettype value, leading to wrong b/w outputs.

10 years agoFix #27048: text + SimpleDeform modifier = weird render result!
Sergey Sharybin [Sat, 23 Apr 2011 15:27:35 +0000 (15:27 +0000)]
Fix #27048: text + SimpleDeform modifier = weird render result!

It's not real fix, just patch which makes things better by using average
normal for each displist separately. There are still some artifacts with
quite highly deformed letters "O" or "g", but correct fix would need
to calculate derivative of modifiers, which isn't implemented yet.

10 years agoquiet some clang warnings & fix for bugs in exceptional cases.
Campbell Barton [Sat, 23 Apr 2011 12:57:03 +0000 (12:57 +0000)]
quiet some clang warnings & fix for bugs in exceptional cases.
- ghost C api, BLI_get_folder_version() could assign garbage values.
- pointcache ptcache_find_frames_around() had a superfluous NULL check which would have crashed anyway if actually NULL.

10 years agoBugfix [#27126] Ctrl 0/1/2/3/4 not working in edit mode
Joshua Leung [Sat, 23 Apr 2011 11:20:30 +0000 (11:20 +0000)]
Bugfix [#27126] Ctrl 0/1/2/3/4 not working in edit mode

Keymaps for subdivision_set operator were only added for Object mode.
Since this is useful for meshes in particular, added these in EditMode
keymap for mesh editing too.

10 years agoBugfix [#27134] Minor bug in the name: property Constraint.is_valid
Joshua Leung [Sat, 23 Apr 2011 11:13:36 +0000 (11:13 +0000)]
Bugfix [#27134] Minor bug in the name: property Constraint.is_valid
has label "Disabled"

"is_valid" RNA property for constraints had the property name
inverted, but the displayed name and tooltips were not inverted too

10 years agoSmall type-tweaks (int being returned as float)
Joshua Leung [Sat, 23 Apr 2011 11:09:24 +0000 (11:09 +0000)]
Small type-tweaks (int being returned as float)

10 years agoFix #26959: change selection of shapekeys in edit mode causes mesh deformity of a key
Sergey Sharybin [Sat, 23 Apr 2011 09:25:34 +0000 (09:25 +0000)]
Fix #26959: change selection of shapekeys in edit mode causes mesh deformity of a key

Vertex offset, which was used to update referenced keys was calculating between
editmesh (which represents shapekey data) and base mesh (ob->mesh) which represents
Bases key.

This commit fixes bug with incorrect ofsset calculation for case when some keys
got other (not Basis) keys as relative key by calculating offset using EditMesh
(new shapekey data) and keyblock data (which was used to create EditMesh when
entering edit mode).

This commit shouldn't lead to regressions, but maybe there's something else
which should be fixed for such kinda complicated cases -- more testing would
be welcome.

10 years agoSculpting on shapekeys
Sergey Sharybin [Sat, 23 Apr 2011 09:07:46 +0000 (09:07 +0000)]
Sculpting on shapekeys

All this work with sculpting on armatured/deformed mesh allowed to
implement sculpting on non-locked keys very easy -- just use the same
approach of propagating offsets from deformed PBVH to "sculpting layer".

- If key is locked, then old logic would be used.
- If there's multires modifier enabled, sculpting would happen on multires.

10 years agoSend NA_EDITED notifier when changing tab width in text space properties
Sergey Sharybin [Sat, 23 Apr 2011 08:52:27 +0000 (08:52 +0000)]
Send NA_EDITED notifier when changing tab width in text space properties

Now text editor refresh correct and there's no more glitches with messed up
syntax highlighting.

10 years agoColor info in node editor backdrop now supports color management.
Lukas Toenne [Sat, 23 Apr 2011 08:30:28 +0000 (08:30 +0000)]
Color info in node editor backdrop now supports color management.

10 years agofix for possible (but unlikely) crash.
Campbell Barton [Sat, 23 Apr 2011 08:02:29 +0000 (08:02 +0000)]
fix for possible (but unlikely) crash.
added NULL check in case nodeAddNodeType() is given an invalid type or the dynamic node cant be found.

10 years agofix for possible crash using an un-initialized pointer when getting a vertex weight...
Campbell Barton [Sat, 23 Apr 2011 07:28:30 +0000 (07:28 +0000)]
fix for possible crash using an un-initialized pointer when getting a vertex weight from a non-mesh/lattice object.

10 years agoFix for group output memory leak, bug #27104. This happens when an internal node...
Lukas Toenne [Sat, 23 Apr 2011 07:21:10 +0000 (07:21 +0000)]
Fix for group output memory leak, bug #27104. This happens when an internal node in a group has multiple output buffers, but only some of them are used. Then all the buffers would be created, but the unlinked outputs were not correctly tagged for freeing after group execution.

10 years agoskip pose slide if the RNA value isn't found.
Campbell Barton [Sat, 23 Apr 2011 07:04:50 +0000 (07:04 +0000)]
skip pose slide if the RNA value isn't found.

10 years agofix for using enter on menus which load files:
Campbell Barton [Sat, 23 Apr 2011 03:31:27 +0000 (03:31 +0000)]
fix for using enter on menus which load files:
 commonly Ctrl+N,Enter or Ctrl+O,Enter

10 years agocancelling bake wasn't freeing the bake mask.
Campbell Barton [Fri, 22 Apr 2011 16:47:17 +0000 (16:47 +0000)]
cancelling bake wasn't freeing the bake mask.

10 years agoView Dolly Operator: Ctrl+Shift+MMB.
Campbell Barton [Fri, 22 Apr 2011 15:34:07 +0000 (15:34 +0000)]
View Dolly Operator: Ctrl+Shift+MMB.

Recently there were 2 reports about zoom not working right because at some point you can't zoom in any further.

This is not actually a bug with zoom but a limitation in blender that there is no way to move the viewpoint forward (unless you count rotate 90d, pan, rotate back which is a crummy workaround).

So adding view dolly operator:
- Supports zoom to mouse position setting.
- Supports dolly hoz/vert, invert setting.
- Moves by a fraction of the view 'dist', so the zoom distance my be roughly in proportion to the scale of objects in the scene.

only used in perspective view since this is not useful in camera/ortho view.

10 years agozoom operator.
Campbell Barton [Fri, 22 Apr 2011 14:47:35 +0000 (14:47 +0000)]
zoom operator.
- continue zoom now uses the same options as dolly (hoz/vert & invert).
- remove event mouse coord hack to bypass touchpad zoom invert, instead pass invert as an argument.

10 years agobuildbot:
Sergey Sharybin [Thu, 21 Apr 2011 19:01:31 +0000 (19:01 +0000)]

Fixed typo for 64bit blenderplayer which caused undefined symbol gzopen64

10 years agobugfix [#27091] Add new vertex at wrong position ( bpy.ops.mesh.dupli_extrude_cursor...
Campbell Barton [Thu, 21 Apr 2011 18:33:30 +0000 (18:33 +0000)]
bugfix [#27091] Add new vertex at wrong position ( bpy.ops.mesh.dupli_extrude_cursor() ) 2

Ctrl+Click on mesh or curve view was using the selected points location or the cursors.
if either of these was behind the view it would add the point at (0, 0, 0).

now fallback to the view orbit pivot, added this option as an argument to view3d_get_view_aligned_coordinate().

10 years agopass even mouse coords value as const so its not edited, view3d_get_view_aligned_coor...
Campbell Barton [Thu, 21 Apr 2011 17:25:58 +0000 (17:25 +0000)]
pass even mouse coords value as const so its not edited, view3d_get_view_aligned_coordinate() could modify the event->mval.

10 years agoack, should have done this before tagging else will be incorrect.
Campbell Barton [Thu, 21 Apr 2011 16:16:12 +0000 (16:16 +0000)]
ack, should have done this before tagging else will be incorrect.

10 years agoconverted more mixed tab/space indentations to tabs. only whitespace changes.
Campbell Barton [Thu, 21 Apr 2011 15:53:30 +0000 (15:53 +0000)]
converted more mixed tab/space indentations to tabs. only whitespace changes.

10 years agowhitespace only, no functional change mixed tabs/spaces --> tabs.
Campbell Barton [Thu, 21 Apr 2011 13:11:51 +0000 (13:11 +0000)]
whitespace only, no functional change mixed tabs/spaces --> tabs.

10 years agoBugfix [#27095] B-Bone doesn´t resize correctly with numeric input
Joshua Leung [Thu, 21 Apr 2011 12:48:07 +0000 (12:48 +0000)]
Bugfix [#27095] B-Bone doesn´t resize correctly with numeric input

B-Bone resizing was acting more like translation than resizing when using numeric input. Added the flag to set all xyz values to same value when using numeric input

10 years agopatch [#27094] Fix for property names in sunsky presets
Campbell Barton [Thu, 21 Apr 2011 12:14:10 +0000 (12:14 +0000)]
patch [#27094] Fix for property names in sunsky presets
from Ejner Fergo (ejnersan)

10 years agopatch [#27070] cmake fix for nmake builds
Campbell Barton [Thu, 21 Apr 2011 12:07:40 +0000 (12:07 +0000)]
patch [#27070] cmake fix for nmake builds

10 years agore-compress png's (save some space)
Campbell Barton [Thu, 21 Apr 2011 10:03:45 +0000 (10:03 +0000)]
re-compress png's (save some space)
  optipng -o7 -zw 512 -zm 9 -i0 *.png

10 years agoFix for fix for the bugfix :)
Ton Roosendaal [Thu, 21 Apr 2011 09:43:38 +0000 (09:43 +0000)]
Fix for fix for the bugfix :)

Just cleaned the code/order here and added comments why this works.
I should have known it... thanks Andrea for quick action!

10 years agofollowing on from last commit r36263.
Campbell Barton [Thu, 21 Apr 2011 09:38:09 +0000 (09:38 +0000)]
following on from last commit r36263.
copying metaball, lattice and armature datablocks while in editmode could segfault when they were freed, NULL these pointers on copy.

10 years agofix [#27096] Segmentation Fault trying to export DirectX with specific model
Campbell Barton [Thu, 21 Apr 2011 09:03:04 +0000 (09:03 +0000)]
fix [#27096] Segmentation Fault trying to export DirectX with specific model
copying a mesh in editmode didnt NULL the edit_mesh pointer.

10 years agoremove checks on deprecated multires pointer.
Campbell Barton [Thu, 21 Apr 2011 08:55:10 +0000 (08:55 +0000)]
remove checks on deprecated multires pointer.

10 years agocmake - install icons into $PREFIX/share/icons/hicolor/ rather then $PREFIX/share...
Campbell Barton [Thu, 21 Apr 2011 06:37:54 +0000 (06:37 +0000)]
cmake - install icons into $PREFIX/share/icons/hicolor/ rather then $PREFIX/share/pixmaps/, also move blender icon into 'apps' dir.

10 years agopatch from Jakub Steiner for freedesktop icons [#27086] install a high resolution...
Campbell Barton [Thu, 21 Apr 2011 06:27:39 +0000 (06:27 +0000)]
patch from Jakub Steiner for freedesktop icons [#27086] install a high resolution launcher icon

10 years agominor changes
Campbell Barton [Thu, 21 Apr 2011 05:49:47 +0000 (05:49 +0000)]
minor changes
- remove some warnings
- fix typos
- cmake allow in-source build (when WITH_IN_SOURCE_BUILD is defined)
- cmake, use an explicit list of rna files (don't glob)

10 years agoBugfix [#27090] Available keying set fails in armature pose mode
Joshua Leung [Thu, 21 Apr 2011 01:21:28 +0000 (01:21 +0000)]
Bugfix [#27090] Available keying set fails in armature pose mode

A change in the poll callback that Available KeyingSet used to use
restricted its use to Object-mode only, while this could also be
useful in Pose Mode (though it would only affect all channels there).

Made this use a custom poll callback now that tests for whether the
active object has an action. This does mean that if you select a bunch
of objects with animation data, but the active object doesn't have it,
then the keyingset will fail to fire, but that's been marked as a todo
in the code.

10 years agofix [#27084] Crash when chosing non-voxel data file in voxel data texture input
Campbell Barton [Thu, 21 Apr 2011 00:28:05 +0000 (00:28 +0000)]
fix [#27084] Crash when chosing non-voxel data file in voxel data texture input
also found loading voxel textures wasn't closing files it opened.

10 years agofix [#27083] Crash on setting Voxel resolution below -3 in 8bit raw texture settings
Campbell Barton [Wed, 20 Apr 2011 23:21:26 +0000 (23:21 +0000)]
fix [#27083] Crash on setting Voxel resolution below -3 in 8bit raw texture settings

10 years agofix crash with lots of operators when running "blender -d". Easy case to reproduce...
Andrea Weikert [Wed, 20 Apr 2011 20:46:02 +0000 (20:46 +0000)]
fix crash with lots of operators when running "blender -d". Easy case to reproduce, just try to delete default cube.

Temporary hack to prevent crasher, likely caused by rev. 36242.

10 years agoInternal need_exec tagging for group nodes, fixes #27034. Non-compositor node trees...
Lukas Toenne [Wed, 20 Apr 2011 20:31:43 +0000 (20:31 +0000)]
Internal need_exec tagging for group nodes, fixes #27034. Non-compositor node trees (texture and material) only use the need_exec flag to exclude cyclic dependencies, ugly double use of that flag. Oh well, hopefully can replace this altogether one day ;)

10 years agoBug fix: "make fur" gave errors with multiple selected objects.
Janne Karhu [Wed, 20 Apr 2011 17:51:56 +0000 (17:51 +0000)]
Bug fix: "make fur" gave errors with multiple selected objects.
* Also some code changes for "make smoke" and "make fluid" to suppress some python messages that were printed to the console.

10 years agoFix for [#27075] Explode Modifier - Apply as Shape impossible
Janne Karhu [Wed, 20 Apr 2011 17:15:33 +0000 (17:15 +0000)]
Fix for [#27075] Explode Modifier - Apply as Shape impossible
* Explode modifier was flagged as "nonconstructive", so the "apply as shape" option was shown. And yes I know exploding things probably isn't usually considered as very constructive, but.. :P

10 years agoBugfix #27026
Ton Roosendaal [Wed, 20 Apr 2011 16:19:49 +0000 (16:19 +0000)]
Bugfix #27026

Outliner objects showed "active" or "selected" in confusing
ways. Now the display is simply binary, and more in line with
how other items in outliner draw:

- text is white = item is active
- color circle behind icon: shows selection state

10 years agoupdate tooltip since this fixes paths from newer versions.
Campbell Barton [Wed, 20 Apr 2011 14:47:00 +0000 (14:47 +0000)]
update tooltip since this fixes paths from newer versions.

10 years agofix [#27072] Calling bpy.utils.blend_paths(True) results in segmantaion fault since...
Campbell Barton [Wed, 20 Apr 2011 12:55:42 +0000 (12:55 +0000)]
fix [#27072] Calling bpy.utils.blend_paths(True) results in segmantaion fault since 2.56

10 years agoBugfix #27044
Ton Roosendaal [Wed, 20 Apr 2011 12:30:13 +0000 (12:30 +0000)]
Bugfix #27044

Enter or exit localview changes bitflags (layers) in Objects, and should get an
undo push for that reason.

10 years agoavoid calling newdataadr() on NULL vertex groups, gives a small speedup on loading...
Campbell Barton [Wed, 20 Apr 2011 12:06:23 +0000 (12:06 +0000)]
avoid calling newdataadr() on NULL vertex groups, gives a small speedup on loading with files that have many empty groups.

10 years agoFix [#26884] Console is not hidden when start blender
Nathan Letwory [Wed, 20 Apr 2011 12:04:07 +0000 (12:04 +0000)]
Fix [#26884] Console is not hidden when start blender
reported by Michael R

Don't print the error message, as it isn't very useful. If there is no Quicktime in Blender GUI in a build that has support enabled, it means that the user hasn't installed Quicktime.

10 years agoBugfix #27058
Ton Roosendaal [Wed, 20 Apr 2011 11:15:58 +0000 (11:15 +0000)]
Bugfix #27058

Top bar: Add -> Mesh -> UV Sphere + Enter crashed.
It didn't crash with leftmouse, but that was coincidentally working.

Menus were freeing modal handlers in Window, while handlers were still
in use. Fix provides to tag handlers for being freed now.

Will add on my attention list for more elaborate checking work here, for
upcoming 2.57a I rather stick to minimal change in code here.

10 years agotested with a very large blend file 600mb. - from [#27002].
Campbell Barton [Wed, 20 Apr 2011 10:50:56 +0000 (10:50 +0000)]
tested with a very large blend file 600mb. - from [#27002].

without this check the file took 4m, 40sec to load, with the check it takes ~3.3sec.

10 years agoBugfix [#27054] 2.57 icons and buttons aren't perfectly centered
Joshua Leung [Wed, 20 Apr 2011 10:10:07 +0000 (10:10 +0000)]
Bugfix [#27054] 2.57 icons and buttons aren't perfectly centered

This seems to make things look a bit better. What a difference 1px

10 years agoUpgrade for pixel color info in image editor and compositor backdrop. Next to the...
Lukas Toenne [Wed, 20 Apr 2011 09:49:32 +0000 (09:49 +0000)]
Upgrade for pixel color info in image editor and compositor backdrop. Next to the RGB color values there is now a small rectangle displaying the actual color under the mouse cursor. In addition to that the HSV and luminance values are also displayed.

10 years agowhile looking into [#27057] noticed when the view and the transform center are 0...
Campbell Barton [Wed, 20 Apr 2011 09:46:45 +0000 (09:46 +0000)]
while looking into [#27057] noticed when the view and the transform center are 0,0,0 it gives NAN values.

10 years agoThis was causing too many problems. Better to just not enable this for
Joshua Leung [Wed, 20 Apr 2011 09:41:44 +0000 (09:41 +0000)]
This was causing too many problems. Better to just not enable this for
now. There are really many good uses for this anyway.

10 years agoFix #27014: ctrl-A, ctrl-C, ctrl-V breaks formatting of script
Sergey Sharybin [Wed, 20 Apr 2011 07:44:42 +0000 (07:44 +0000)]
Fix #27014: ctrl-A, ctrl-C, ctrl-V breaks formatting of script

This bug was caused by tabs->spaces conversion. Change pate-ing logic to
paste buffer AS-IS (without any conversions).

This commit also fixes undo-ing  block deletion which contains tabs when
"Tabs as spaces" is toggled on. Also, markes shouldn't be moved after
pasteing new buffer.

10 years agoedit definitions to use const for non modified args, also correct incorrect definitio...
Campbell Barton [Wed, 20 Apr 2011 06:47:16 +0000 (06:47 +0000)]
edit definitions to use const for non modified args, also correct incorrect definition for clip_line_plane().

10 years agoBugfix for #26795 and #26917, Fix a bug that cause the radar sensor to break
Erwin Coumans [Wed, 20 Apr 2011 04:55:58 +0000 (04:55 +0000)]
Bugfix for #26795 and #26917, Fix a bug that cause the radar sensor to break
Never memset(&ob, 0,sizeof(class)) when there is a constructor, it overrides all memory.
The problem was that the memset(0) was setting the scaling to (0,0,0), the height of the cone became 'infinity'
so GJK would iterate 'MAX_ITER' without converging due to this #NAN value

10 years agofix [#27006] Apply Scale at a B-Bone Skeleton causes rescale of B-Bones and offset...
Campbell Barton [Wed, 20 Apr 2011 04:11:12 +0000 (04:11 +0000)]
fix [#27006] Apply Scale at a B-Bone Skeleton causes rescale of B-Bones and offset of attached objects

10 years agobugfix where separating the armature would also separate the active-unselected bone...
Campbell Barton [Wed, 20 Apr 2011 03:05:19 +0000 (03:05 +0000)]
bugfix where separating the armature would also separate the active-unselected bone because editmode enabled the selection when toggled.

10 years agominor cleanup & replace inline armature separate pchan searches with BLI_findstring...
Campbell Barton [Wed, 20 Apr 2011 02:56:51 +0000 (02:56 +0000)]
minor cleanup & replace inline armature separate pchan searches with BLI_findstring(), no functional changes.

10 years agofix for crash when loading testfile from report [#27002].
Campbell Barton [Wed, 20 Apr 2011 01:21:55 +0000 (01:21 +0000)]
fix for crash when loading testfile from report [#27002].
error in r36222, also move AnimData *adt definitions inline to ensure they don't get mis-used across different ID types.

10 years agofix [#26967] separate mesh with p crashes blender
Campbell Barton [Tue, 19 Apr 2011 23:52:14 +0000 (23:52 +0000)]
fix [#26967] separate mesh with p crashes blender
copying ID properties assumed each property was allocated separately which isnt the case for IDP_Arrays.

10 years agoFix for [#27038] Bugs when linking particles/collision/softbody modifiers
Janne Karhu [Tue, 19 Apr 2011 16:30:55 +0000 (16:30 +0000)]
Fix for [#27038] Bugs when linking particles/collision/softbody modifiers
* Collision modifiers are disabled here by intention, but particles and softbody were copied the wrong way over :)
* On a further note I don't really get this whole "link modifiers" thing as it just copies the modifiers. As modifiers aren't ID blocks there's no sense in calling this linking!
* Secondly I don't think particles, smoke etc should be considered as modifiers here at all, meaning they shouldn't be linked/copied. These "modifiers" only read the mesh data at a certain location of the stack, but don't actually modify the mesh in any way (more info here

10 years agoCorrected updating inside edited groups, fix for #27018. This was caused by edit...
Lukas Toenne [Tue, 19 Apr 2011 15:15:50 +0000 (15:15 +0000)]
Corrected updating inside edited groups, fix for #27018. This was caused by edit updates being restricted to the actual node. Edit functions now should use the generic snode_tag_changed, which also updates all instances of the currently edited group.

10 years agoBugfix 26936
Ton Roosendaal [Tue, 19 Apr 2011 14:36:26 +0000 (14:36 +0000)]
Bugfix 26936

EditMode mesh: tool "Mesh Rip Move" shouldnt be in the toolbar.
The tool was coded to use the mouse position next to the selection.
The rip then happens correctly after pressing V and move mouse away
from selection.

10 years agoBugfix [#25960] .1 Action Editor header doesn't update when entering
Joshua Leung [Tue, 19 Apr 2011 13:17:16 +0000 (13:17 +0000)]
Bugfix [#25960] .1 Action Editor header doesn't update when entering
tweakmode on NLA Strips

10 years agoFix for [#27008] Replacing particle hair with group objects - viewport does not match...
Janne Karhu [Tue, 19 Apr 2011 13:06:08 +0000 (13:06 +0000)]
Fix for [#27008] Replacing particle hair with group objects - viewport does not match renderoutput.
* Object size was determined from the first and second last cache key by accident, when it should have been first and last cache keys that were used.

10 years agoWhitespace/typos
Joshua Leung [Tue, 19 Apr 2011 13:02:49 +0000 (13:02 +0000)]

10 years agoBugfix [#25960] Action/NLA Editor issues with animdata context
Joshua Leung [Tue, 19 Apr 2011 13:01:50 +0000 (13:01 +0000)]
Bugfix [#25960] Action/NLA Editor issues with animdata context

Actions now get tagged with an ID-code, which is used to determine
what ID-blocks they can be assigned to. This ensures that material
actions cannot be assigned to the object-level for example.

* Action lists in general will now show only the actions that can be
set for that particular slot. This prevents selection of invalid
actions, and helps cut down the list of actions.
** An exception here is the Add Action Clip in NLA Editor, which will
show all actions but will only add where appropriate. This is because
it's not easy/possible to tell in advance which blocktypes to filter
for when building this list. (TODO?)

* The "Action Editor" is now strictly for object-level action
editing+setting now. This avoids repeateded confusion by people who
try using this to view their shapekey actions, which should go to the
Shape Key Editor instead!
** A context switcher for the legitimate times where this capability
might come in handy is still being investigated.

* "Floating" actions (i.e. actions in some action_library.blend) are
NOT able to be automatically tagged until they are assigned to some
datablocks (i.e. loaded onto the rig + played back once). It is
possible to write scripts that check for certain RNA-paths and "guess"
what datablocks they work on, but it is recommended that you load up
the Datablocks Viewer, and go through such actions by hand, setting
the "ID Root Type" property as appropriate per action.