Campbell Barton [Sat, 30 Apr 2011 08:54:06 +0000 (08:54 +0000)]
fix [#27221] stamp text bug in lower lines
Campbell Barton [Sat, 30 Apr 2011 06:40:39 +0000 (06:40 +0000)]
normalize quaternions when setting the view axis - some old files had non-normalize view rotation.
Campbell Barton [Sat, 30 Apr 2011 06:22:02 +0000 (06:22 +0000)]
scene sequencer strips now work when camera override is used even if the scene has no active camera.
Campbell Barton [Sat, 30 Apr 2011 05:42:37 +0000 (05:42 +0000)]
use camera render argument to avoid temp overwriting the scene camera.
also fix for mistake with rendering stars from previous commit.
Campbell Barton [Sat, 30 Apr 2011 05:26:09 +0000 (05:26 +0000)]
- pass the camera to the render stamp function.
- add BKE_write_ibuf_stamp() since saving environment maps & screen shots shouldn't have stamp.
Campbell Barton [Sat, 30 Apr 2011 04:29:36 +0000 (04:29 +0000)]
add back support for rendering local view camera.
Campbell Barton [Sat, 30 Apr 2011 03:36:59 +0000 (03:36 +0000)]
fix for minor glitch when setting the camera in local view (camera could try to smooth view into its self).
Campbell Barton [Fri, 29 Apr 2011 06:59:18 +0000 (06:59 +0000)]
corrections for redundant null checks & transform printing a string into its self.
Campbell Barton [Fri, 29 Apr 2011 05:32:27 +0000 (05:32 +0000)]
fix [#27199] Copy Mirrored UV Coords missing the reverse option
Campbell Barton [Fri, 29 Apr 2011 05:01:50 +0000 (05:01 +0000)]
fix [#27057] In cam perspective, world-axis-locked xform of an obj at cam loc fails
when constraining the axis, ensure central point of the transformation is not too close to the view origin since this fails.
Campbell Barton [Fri, 29 Apr 2011 04:43:36 +0000 (04:43 +0000)]
spelling corrections.
Campbell Barton [Fri, 29 Apr 2011 03:01:58 +0000 (03:01 +0000)]
fix [#27198] Missing Live LSCM Update after Aligning of pinned vertices (W)
UV Sync Select was failing with live unwrap.
Campbell Barton [Thu, 28 Apr 2011 17:19:32 +0000 (17:19 +0000)]
fix [#26727] Make Proxy ignores group offset
Campbell Barton [Thu, 28 Apr 2011 13:01:29 +0000 (13:01 +0000)]
Added tooltip note that parent curve 'Follow' needs to be enabled for track axis to do anything.
also show both enum descriptions in the tooltip (the enum properties description and the individual enums).
Ton Roosendaal [Thu, 28 Apr 2011 12:43:28 +0000 (12:43 +0000)]
Twitter report fix :)
More clear naming for image "source" type.
"Single Image" and "Image Sequence" and "Movie File".
Thanks @hjalti for poking!
Campbell Barton [Thu, 28 Apr 2011 09:52:16 +0000 (09:52 +0000)]
fix [#27196] Traceback caused by preset selection
Campbell Barton [Thu, 28 Apr 2011 09:50:57 +0000 (09:50 +0000)]
fix [#27201] icosphere normals problem
Joshua Leung [Thu, 28 Apr 2011 09:46:53 +0000 (09:46 +0000)]
Bugfix [#27194] Difficulty selecting bones with boneshapes enabled and
some bones made un-selectable
Pose Bone selection (like object selection) used OpenGL to draw
wireframes with different colours into an offscreen buffer and then
from that identify which item was clicked on. The bug here was that
unselectable bones were getting drawn for this step too, so they were
getting caught instead of the control bones that were selectable.
Campbell Barton [Thu, 28 Apr 2011 08:26:49 +0000 (08:26 +0000)]
fix [#27193] view/camera/set active object as camera sometimes "disabled" in gui (grayed out)
When in quad split view, operators that only apply to the unlocked region can now be accessed from menus and when the mouse is over a locked view.
Applied to:
- VIEW3D_OT_object_as_camera
- VIEW3D_OT_view_persportho
- VIEW3D_OT_view_orbit
- VIEW3D_OT_viewnumpad
Campbell Barton [Thu, 28 Apr 2011 07:55:29 +0000 (07:55 +0000)]
smooth view now takes the v3d and region as arguments. (no functional change)
Joshua Leung [Thu, 28 Apr 2011 07:10:13 +0000 (07:10 +0000)]
Mwahahahaha! I think I've found the cause of that awful purple/pink
"glow" that was appearing on bones drawn using "octahedral" from
certain angles. It seems to have been caused by a typo in the code
used to "clear spec colour"
Campbell Barton [Thu, 28 Apr 2011 06:20:47 +0000 (06:20 +0000)]
CMake build option for security report: CVE-2009-3850
Nothing is changed by default but some linux distributions want to have executing python be opt-in.
This keeps the same functionality but disables auto-run from factory settings and in background mode unless its enabled as a command line argument.
This CMake option is marked as advanced and wont show in the regular options list so its less likely to be enabled by people that like to turn everything ON without reading descriptions :)
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.
Campbell Barton [Thu, 28 Apr 2011 05:19:17 +0000 (05:19 +0000)]
fix [#27186] Wave modifier falloff
regression from 2.4x (own fault)
Campbell Barton [Thu, 28 Apr 2011 05:15:47 +0000 (05:15 +0000)]
rename duplicate header defines & remove unused var.
Campbell Barton [Wed, 27 Apr 2011 14:53:45 +0000 (14:53 +0000)]
fix for fix, was incorrectly looping over regions.
Campbell Barton [Wed, 27 Apr 2011 13:13:07 +0000 (13:13 +0000)]
remove .Bfs, its not used anymore.
Sergey Sharybin [Wed, 27 Apr 2011 12:50:47 +0000 (12:50 +0000)]
buildbot: switch to ffmpeg 0.6.3
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.
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.
Campbell Barton [Wed, 27 Apr 2011 07:36:34 +0000 (07:36 +0000)]
fix [#27164] uv unwrap stretching
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)
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.
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
link: http://codereview.appspot.com/4356045/
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.
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 = bpy.data.objects["Camera"]
adt = dst.animation_data_create()
for driver in ob.animation_data.drivers:
new_driver = adt.drivers.from_existing(driver)
Nathan Letwory [Tue, 26 Apr 2011 12:24:08 +0000 (12:24 +0000)]
Bump version for imminent 2.57b tag.
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.
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.
Campbell Barton [Mon, 25 Apr 2011 16:24:38 +0000 (16:24 +0000)]
fix [#26993] Edge Split Crash
Campbell Barton [Mon, 25 Apr 2011 16:02:53 +0000 (16:02 +0000)]
indentation changes only.
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:
http://www.pasteall.org/pic/11261
http://www.pasteall.org/pic/11262
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.
Campbell Barton [Mon, 25 Apr 2011 12:39:53 +0000 (12:39 +0000)]
workaround/fix [#27162] Running commands in python console crashes blender
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.
Campbell Barton [Mon, 25 Apr 2011 11:52:42 +0000 (11:52 +0000)]
fix [#27139] Value Slider, some colours are two coloured
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
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().
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.
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
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.
Thomas Dinges [Sun, 24 Apr 2011 20:59:19 +0000 (20:59 +0000)]
2.5 UI scripts:
* Small cleanup of code and descriptions.
Campbell Barton [Sun, 24 Apr 2011 14:45:49 +0000 (14:45 +0000)]
fix crash [#27158] Appending crash with preview.
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.
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.
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.
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.
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.
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
Joshua Leung [Sat, 23 Apr 2011 11:09:24 +0000 (11:09 +0000)]
Small type-tweaks (int being returned as float)
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.
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.
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.
Lukas Toenne [Sat, 23 Apr 2011 08:30:28 +0000 (08:30 +0000)]
Color info in node editor backdrop now supports color management.
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.
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.
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.
Campbell Barton [Sat, 23 Apr 2011 07:04:50 +0000 (07:04 +0000)]
skip pose slide if the RNA value isn't found.
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
Campbell Barton [Fri, 22 Apr 2011 16:47:17 +0000 (16:47 +0000)]
cancelling bake wasn't freeing the bake mask.
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.
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.
Sergey Sharybin [Thu, 21 Apr 2011 19:01:31 +0000 (19:01 +0000)]
buildbot:
Fixed typo for 64bit blenderplayer which caused undefined symbol gzopen64
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().
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.
Campbell Barton [Thu, 21 Apr 2011 16:16:12 +0000 (16:16 +0000)]
ack, should have done this before tagging else bpy.app.version_char will be incorrect.
Campbell Barton [Thu, 21 Apr 2011 15:53:30 +0000 (15:53 +0000)]
converted more mixed tab/space indentations to tabs. only whitespace changes.
Campbell Barton [Thu, 21 Apr 2011 13:11:51 +0000 (13:11 +0000)]
whitespace only, no functional change mixed tabs/spaces --> tabs.
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
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)
Campbell Barton [Thu, 21 Apr 2011 12:07:40 +0000 (12:07 +0000)]
patch [#27070] cmake fix for nmake builds
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
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!
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.
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.
Campbell Barton [Thu, 21 Apr 2011 08:55:10 +0000 (08:55 +0000)]
remove checks on deprecated multires pointer.
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.
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
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)
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.
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.
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
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.
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 ;)
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.
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
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
Campbell Barton [Wed, 20 Apr 2011 14:47:00 +0000 (14:47 +0000)]
update tooltip since this fixes paths from newer versions.
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
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.
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.