9 years agofix for building windows/mingw
Campbell Barton [Mon, 2 May 2011 14:18:47 +0000 (14:18 +0000)]
fix for building windows/mingw

9 years agoFix #26807: glsl diffuse/specular was not clamping negative values, giving
Brecht Van Lommel [Mon, 2 May 2011 14:01:45 +0000 (14:01 +0000)]
Fix #26807: glsl diffuse/specular was not clamping negative values, giving
some inconsistent results with the renderer.

9 years agoFix #26697: glsl color management + vertex color was not working right.
Brecht Van Lommel [Mon, 2 May 2011 13:52:41 +0000 (13:52 +0000)]
Fix #26697: glsl color management + vertex color was not working right.

9 years agoreverse string lookup listbase function BLI_findstring counterparts, added BLI_rfinds...
Campbell Barton [Mon, 2 May 2011 13:35:04 +0000 (13:35 +0000)]
reverse string lookup listbase function BLI_findstring counterparts, added BLI_rfindstring, BLI_rfindstring_ptr, these search from the end of the listbase (like pythons rfind).

9 years agoPotential fix for #27257: menus disappear particle edit mode wireframe draw.
Brecht Van Lommel [Mon, 2 May 2011 12:50:26 +0000 (12:50 +0000)]
Potential fix for #27257: menus disappear particle edit mode wireframe draw.
Depth test got re-enabled without check if it was necessary.

9 years agoenable face mask selection in texture paint mode again (worked in 2.4x).
Campbell Barton [Mon, 2 May 2011 12:32:28 +0000 (12:32 +0000)]
enable face mask selection in texture paint mode again (worked in 2.4x).

9 years agoFix #27098: missing 3d view updates when editing GLSL material nodes.
Brecht Van Lommel [Mon, 2 May 2011 12:31:09 +0000 (12:31 +0000)]
Fix #27098: missing 3d view updates when editing GLSL material nodes.

9 years agoFix for revision 36403, using BLI_findstring. This loop looks for the last
Brecht Van Lommel [Mon, 2 May 2011 12:07:07 +0000 (12:07 +0000)]
Fix for revision 36403, using BLI_findstring. This loop looks for the last
found entry, not the first, made this a bit more explicit in the code now.

9 years agoFix #27165: uvedit mesh selection sync did not handle click / shift+click
Brecht Van Lommel [Mon, 2 May 2011 11:34:57 +0000 (11:34 +0000)]
Fix #27165: uvedit mesh selection sync did not handle click / shift+click
for switching selection modes in the header.

9 years agoImage Editor: remove toolbox menu, was an experiment and not in any other space.
Brecht Van Lommel [Mon, 2 May 2011 11:32:38 +0000 (11:32 +0000)]
Image Editor: remove toolbox menu, was an experiment and not in any other space.

9 years agoUV Edit: move uv vertex buttons code to uvedit module.
Brecht Van Lommel [Mon, 2 May 2011 11:11:57 +0000 (11:11 +0000)]
UV Edit: move uv vertex buttons code to uvedit module.

9 years agoworkaround [#27203] Crashes with some high-res image thumbnail generation
Campbell Barton [Mon, 2 May 2011 10:22:49 +0000 (10:22 +0000)]
workaround [#27203] Crashes with some high-res image thumbnail generation
skip generating thumbs for images over 100mb.
also pass string lengths as size_t rather then int for path_util.c functions.

9 years agoFix #27230: texture paint face selection mask did not work on multires. It
Brecht Van Lommel [Mon, 2 May 2011 10:21:07 +0000 (10:21 +0000)]
Fix #27230: texture paint face selection mask did not work on multires. It
seems the support mapping flag was removed for disabling in edit mode, but
this wasn't necessary.

9 years agoRelated to bug #27004: there is now an option to disable color management for
Brecht Van Lommel [Mon, 2 May 2011 09:08:43 +0000 (09:08 +0000)]
Related to bug #27004: there is now an option to disable color management for
GLSL. I've tried to find a quicker way to do it that still looks the same, but
couldn't find a formula that didn't have major color shifts.

9 years agoFix #27243: missing seed button for halo materials.
Brecht Van Lommel [Mon, 2 May 2011 08:56:53 +0000 (08:56 +0000)]
Fix #27243: missing seed button for halo materials.

9 years agoAlso add build fix for OSX (not-tested, so OSXers, please do test).
Nathan Letwory [Mon, 2 May 2011 08:39:17 +0000 (08:39 +0000)]
Also add build fix for OSX (not-tested, so OSXers, please do test).

9 years agocopying/freeing node trees now adjusts grease pencil user count.
Campbell Barton [Mon, 2 May 2011 08:37:44 +0000 (08:37 +0000)]
copying/freeing node trees now adjusts grease pencil user count.
also NULL freed texture node socket data incase its used again by accident.

9 years agox11 builds again.
Campbell Barton [Mon, 2 May 2011 08:36:00 +0000 (08:36 +0000)]
x11 builds again.

9 years agoFix [#26981] Command window is not opening in 2.57.0
Nathan Letwory [Mon, 2 May 2011 08:07:24 +0000 (08:07 +0000)]
Fix [#26981] Command window is not opening in 2.57.0
  Reported by Thomas Engel
Fix [#26938] Blender Zoom not working after startup (Windows)
  Reported by Ilija Boshkov

by applying patch [#26881] Fix for console disappearing in debug mode [Windows]
  Submitted by Alexander Kuznetsov (AlexK)

The patch moves console toggling code into GHOST and improves on the toggling behaviour.

The patch changes handling of WM_SYSCOMMAND so that alt-key toggling isn't a problem anymore.

9 years agoUse enum menu for angle source in sculpt mode -- rake toggling wasn't
Sergey Sharybin [Mon, 2 May 2011 08:04:05 +0000 (08:04 +0000)]
Use enum menu for angle source in sculpt mode -- rake toggling wasn't
working due to it's 3 possible sources.

9 years agofix transform code using a node space as an image space, accessing unallocated memory.
Campbell Barton [Mon, 2 May 2011 05:24:59 +0000 (05:24 +0000)]
fix transform code using a node space as an image space, accessing unallocated memory.
also remove bullet patch which has now been applied.

9 years agobuild system changes to eltopo, re-applied.
Campbell Barton [Mon, 2 May 2011 03:44:02 +0000 (03:44 +0000)]
build system changes to eltopo, re-applied.

9 years agoSVN maintenance.
Guillermo S. Romero [Sun, 1 May 2011 23:16:16 +0000 (23:16 +0000)]
SVN maintenance.

9 years ago=trunk=
Joseph Eagar [Sun, 1 May 2011 21:39:13 +0000 (21:39 +0000)]
Recommitted eltopo collision code (but disabled by default)
with Genscher's permission.

To use, you need to install liblapack and libblas

9 years agowarp modifier, using negative strength inverts the transformation matrix but the...
Campbell Barton [Sun, 1 May 2011 16:07:18 +0000 (16:07 +0000)]
warp modifier, using negative strength inverts the transformation matrix but the location it gave wasnt useful when rotation was used too, just negate the translation.

9 years agowarp modifier, added in the render branch for durian.
Campbell Barton [Sun, 1 May 2011 15:16:59 +0000 (15:16 +0000)]
warp modifier, added in the render branch for durian.
simple modifier, almost like a hook, except it can deform with 2 object source -> target, has option to preserve rotation and use different falloff types.

9 years agoimprove image sequence usability, problem was when the image didn't load there was...
Campbell Barton [Sun, 1 May 2011 14:02:40 +0000 (14:02 +0000)]
improve image sequence usability, problem was when the image didn't load there was no way to know the frame that blender was attempting to read.

added a label for image sequence images showing the image file's frame, even when not able to load, this also gives realtime feedback to the user while dragging the frame offset/start/duration buttons about so they can better understand how these settings work.

9 years agoStyle Cleanup
Campbell Barton [Sun, 1 May 2011 10:14:09 +0000 (10:14 +0000)]
Style Cleanup
- duplicate cases in if/else
- calc inside sizeof(...)
- redundant NULL checks.
- assignment to self.
- fix error getting text prefix for screen ID button.

9 years agotweak image stamp, was 1px overlap and text was drawn too far up.
Campbell Barton [Sun, 1 May 2011 09:39:32 +0000 (09:39 +0000)]
tweak image stamp, was 1px overlap and text was drawn too far up.

9 years ago- remove UV_OT_select_inverse, instead use invert option for UV_OT_select_all.
Campbell Barton [Sun, 1 May 2011 09:21:45 +0000 (09:21 +0000)]
- remove UV_OT_select_inverse, instead use invert option for UV_OT_select_all.
- fixed INVERT option for UV_OT_select_all.

9 years ago- Description of texture angle sources and stroke methods
Sergey Sharybin [Sun, 1 May 2011 08:50:09 +0000 (08:50 +0000)]
- Description of texture angle sources and stroke methods
- Fixed bug with empty tooltip for some ENUMs

9 years agoFix #27239: "A" menu in Sculptmode fails
Sergey Sharybin [Sun, 1 May 2011 07:39:21 +0000 (07:39 +0000)]
Fix #27239: "A" menu in Sculptmode fails

Simple incorrect property accessing fix (enum_items vs. items).

Additional change: removed hotkey to toggle airbrush in sculpt mode
TODO: incorrect hotkeys are shown in stroke method menu, but it's how
      hotkey string detecting works now.

9 years agoreplace inline string searches with BLI_findstring(), strcmp(..., ""), with char...
Campbell Barton [Sun, 1 May 2011 06:34:40 +0000 (06:34 +0000)]
replace inline string searches with BLI_findstring(), strcmp(..., ""), with char comparisons.

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

9 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()

9 years ago=trunk=
Joseph Eagar [Sun, 1 May 2011 03:57:53 +0000 (03:57 +0000)]
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,

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

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

9 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

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

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

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

9 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

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

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

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

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

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

9 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).

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

9 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

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

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

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

9 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

9 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).

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

9 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

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

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

9 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

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

9 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"

9 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 :)

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

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

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

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

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

9 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

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

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

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

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

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

9 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

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

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

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

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

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

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

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

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

9 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

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

9 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

9 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

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

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

9 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

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

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

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

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

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

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

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

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

9 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