blender.git
8 years agocopying texture point density was using inline dupalloc rather then BKE_copy_pointden...
Campbell Barton [Sun, 1 May 2011 05:51:21 +0000 (05:51 +0000)]
copying texture point density was using inline dupalloc rather then BKE_copy_pointdensity() which NULL's runtime pointers.

8 years agofix for r36399
Campbell Barton [Sun, 1 May 2011 05:41:08 +0000 (05:41 +0000)]
fix for r36399
- missing copy, free calls to curve falloff.
- missing localizing call for texture preview.
- also moved versioning into do_versions()

8 years ago=trunk=
Joseph Eagar [Sun, 1 May 2011 03:57:53 +0000 (03:57 +0000)]
=trunk=
Made some improvements to the point density texture.  Added support
for tweaking the falloff with a custom curve.  Also coded new
falloff types based on the age or velocity of particles.

Also added a test break check to the volumetric shade cache code,
to avoid nasty hangups from the preview render (on render, exit,
etc).

8 years agoFix #27224: Extrude Repeat Mesh doesn't have options
Sergey Sharybin [Sat, 30 Apr 2011 18:47:06 +0000 (18:47 +0000)]
Fix #27224: Extrude Repeat Mesh doesn't have options

Poll function was too strict for this case that's why there was
no options in operator panel.

Additional changes:
- Added 'direction' parameter to operator so now extruding
  could be made from script by providing direction vector.
- Fill this direction vection in operator's invoke functions
  so abjusting offset/steps in operator panel gives better visual
  feedback -- direction stays unchanged so user could easily see
  final result.
- Made some tweaks to soft limits, so adjusting values by mouse
  drag isn't such confusing now.

Tested in normal mode (from 3d view), as script and in background mode.
Haven't noticed any regressions.

8 years agowhitespace edits for bpy api, split some really long lines.
Campbell Barton [Sat, 30 Apr 2011 13:58:31 +0000 (13:58 +0000)]
whitespace edits for bpy api, split some really long lines.

8 years agoFix one more crash introduced with r36384: trying to bake resulted in a segfault
Sergey Sharybin [Sat, 30 Apr 2011 13:47:25 +0000 (13:47 +0000)]
Fix one more crash introduced with r36384: trying to bake resulted in a segfault

Also, use tabs for indentation in previous fix for the same crash

8 years agofix crash using freed memory with SCREEN_OT_screen_set while the current screen has...
Campbell Barton [Sat, 30 Apr 2011 11:28:09 +0000 (11:28 +0000)]
fix crash using freed memory with SCREEN_OT_screen_set while the current screen has a full area.

8 years agofix for render stamp text drawing too low.
Campbell Barton [Sat, 30 Apr 2011 11:21:46 +0000 (11:21 +0000)]
fix for render stamp text drawing too low.

8 years agofixed a crash introduced in r36384
M.G. Kishalmi [Sat, 30 Apr 2011 10:02:23 +0000 (10:02 +0000)]
fixed a crash introduced in r36384
where the preview render was calling getCam before setting the scene.

8 years agofix [#27221] stamp text bug in lower lines
Campbell Barton [Sat, 30 Apr 2011 08:54:06 +0000 (08:54 +0000)]
fix [#27221] stamp text bug in lower lines

8 years agonormalize quaternions when setting the view axis - some old files had non-normalize...
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.

8 years agoscene sequencer strips now work when camera override is used even if the scene has...
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.

8 years agouse camera render argument to avoid temp overwriting the scene 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.

8 years ago- pass the camera to the render stamp function.
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.

8 years agoadd back support for rendering local view camera.
Campbell Barton [Sat, 30 Apr 2011 04:29:36 +0000 (04:29 +0000)]
add back support for rendering local view camera.

8 years agofix for minor glitch when setting the camera in local view (camera could try to smoot...
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).

8 years agocorrections for redundant null checks & transform printing a string 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.

8 years agofix [#27199] Copy Mirrored UV Coords missing the reverse option
Campbell Barton [Fri, 29 Apr 2011 05:32:27 +0000 (05:32 +0000)]
fix [#27199] Copy Mirrored UV Coords missing the reverse option

8 years agofix [#27057] In cam perspective, world-axis-locked xform of an obj at cam loc fails
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.

8 years agospelling corrections.
Campbell Barton [Fri, 29 Apr 2011 04:43:36 +0000 (04:43 +0000)]
spelling corrections.

8 years agofix [#27198] Missing Live LSCM Update after Aligning of pinned vertices (W)
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.

8 years agofix [#26727] Make Proxy ignores group offset
Campbell Barton [Thu, 28 Apr 2011 17:19:32 +0000 (17:19 +0000)]
fix [#26727] Make Proxy ignores group offset

8 years agoAdded tooltip note that parent curve 'Follow' needs to be enabled for track axis...
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).

8 years agoTwitter report fix :)
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!

8 years agofix [#27196] Traceback caused by preset selection
Campbell Barton [Thu, 28 Apr 2011 09:52:16 +0000 (09:52 +0000)]
fix [#27196] Traceback caused by preset selection

8 years agofix [#27201] icosphere normals problem
Campbell Barton [Thu, 28 Apr 2011 09:50:57 +0000 (09:50 +0000)]
fix [#27201] icosphere normals problem

8 years agoBugfix [#27194] Difficulty selecting bones with boneshapes enabled and
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.

8 years agofix [#27193] view/camera/set active object as camera sometimes "disabled" in gui...
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

8 years agosmooth view now takes the v3d and region as arguments. (no functional change)
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)

8 years agoMwahahahaha! I think I've found the cause of that awful purple/pink
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"

8 years agoCMake build option for security report: CVE-2009-3850
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 :)

8 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.

8 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)

8 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.

8 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.

8 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.

8 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

8 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.

8 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.

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

8 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)

8 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.

8 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

link: http://codereview.appspot.com/4356045/
8 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.

8 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 = bpy.data.objects["Camera"]

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

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

8 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.

8 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.

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

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

8 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:
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.

8 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

8 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.

8 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

8 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

8 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().

8 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.

8 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

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

8 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)

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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.

8 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

8 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.

8 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.

8 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.

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

Fixed typo for 64bit blenderplayer which caused undefined symbol gzopen64

8 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().

8 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.

8 years agoack, should have done this before tagging else bpy.app.version_char will be incorrect.
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.

8 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.

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

8 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

8 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)

8 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

8 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

8 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!

8 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.

8 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.

8 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.

8 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.

8 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

8 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)

8 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.

8 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.

8 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