10 years agoBugfix #21385
Ton Roosendaal [Sat, 27 Nov 2010 19:33:40 +0000 (19:33 +0000)]
Bugfix #21385

Blender MultiLayer openEXR files now save with correct scanline order.
Code also provides backward compatibility. Also thanks to Troy Sobotka!

10 years ago[#24935] Proportional translation size stuck to none
Martin Poirier [Sat, 27 Nov 2010 19:18:13 +0000 (19:18 +0000)]
[#24935] Proportional translation size stuck to none

Adjust hard and soft limits on proportional size operator property.

Prevent zero in old files with reset if under hard limit (in tools settings).

10 years agobugfix [#24944] Crash on attempting to keyframe HSV color
Campbell Barton [Sat, 27 Nov 2010 18:30:56 +0000 (18:30 +0000)]
bugfix [#24944] Crash on attempting to keyframe HSV color
prevent eternal loop

10 years agopython access to driver namespace, rather then have a textblock defined for drivers...
Campbell Barton [Sat, 27 Nov 2010 02:39:51 +0000 (02:39 +0000)]
python access to driver namespace, rather then have a textblock defined for drivers allow scripts to add functions directly.
-, read-only dictionary, edit in-place.
- reset on file load and new file.
- on errors the namespace used to be reset, this should not be needed.

simple example.

  def driverFunc(val):
    return val * val['driverFunc'] = driverFunc

... now all drivers can access this function.

10 years agoconsole text underscore would draw outside the view for larger font sizes.
Campbell Barton [Sat, 27 Nov 2010 00:56:18 +0000 (00:56 +0000)]
console text underscore would draw outside the view for larger font sizes.

10 years agofix for fix r33330, bug [#23118].
Campbell Barton [Sat, 27 Nov 2010 00:23:06 +0000 (00:23 +0000)]
fix for fix r33330, bug [#23118].
combing hair the view matrix wasn't updated so depth comparison was incorrect.

10 years agoParticle draw was calling glColorMaterial(...) after glEnable(GL_COLOR_MATERIAL)...
Campbell Barton [Fri, 26 Nov 2010 23:38:23 +0000 (23:38 +0000)]
Particle draw was calling glColorMaterial(...) after glEnable(GL_COLOR_MATERIAL), this is documented to be incorrect.
On my system it set the ambient color value to 1.0.

10 years agoadded option to turn off Text anti-aliasing in the UI
Michael Fox [Fri, 26 Nov 2010 22:12:46 +0000 (22:12 +0000)]
added option to turn off Text anti-aliasing in the UI
(userpref->system), with a great help from brecht (its been way too long
for me).

However as brecht pointed out that the non-AA text is slightly lareger
then AA'ed Text :S, i did not do anything about this as this commit was
just the option not the text drawing.

this commit also makes it possible to do all kinds of UI textrender options

10 years agoFix #24914: 3D text glitch and crash
Sergey Sharybin [Fri, 26 Nov 2010 18:13:27 +0000 (18:13 +0000)]
Fix #24914: 3D text glitch and crash

Crash was caused by invalid utf8 sequence pasteing from the clipboard.
Prevent memory corruption by giving utf8slen() the same rules of bytes checking
as utf8towchar() does.

10 years agoremove support for rna resolving paths with collection['name'], only support collecti...
Campbell Barton [Fri, 26 Nov 2010 17:25:06 +0000 (17:25 +0000)]
remove support for rna resolving paths with collection['name'], only support collection["name"],
 added r31826.

This is valid python syntax but I rather be strict with data path format else it becomes harder to parse them if we try to support this.
it means checks like fcurve.data_path.startswith('pose.bones["SomeBone"]') isn't ensured to work, since blender uses "" quotes everywhere for keyframe paths I dont think its an advantage to allow users to do it differently.

10 years agoRigid Body Joint Constraint:
Thomas Dinges [Fri, 26 Nov 2010 17:11:16 +0000 (17:11 +0000)]
Rigid Body Joint Constraint:
* RNA fix for my last commit, we want the last 3 items of the array, not the first 3, added get/set functions.

10 years agoUpdate nurb keyindex data when subdividing -- shape key data wouldn't be lost anyway
Sergey Sharybin [Fri, 26 Nov 2010 17:08:22 +0000 (17:08 +0000)]
Update nurb keyindex data when subdividing -- shape key data wouldn't be lost anyway

10 years agofix building blenderplayer and a divide by zero bug with the console view.
Campbell Barton [Fri, 26 Nov 2010 17:07:31 +0000 (17:07 +0000)]
fix building blenderplayer and a divide by zero bug with the console view.

10 years agochange monospace font to be an extern, not good final design but better then loading...
Campbell Barton [Fri, 26 Nov 2010 16:33:42 +0000 (16:33 +0000)]
change monospace font to be an extern, not good final design but better then loading the same font 3 times.
need to load twice still because render may use the font in a thread.

10 years ago"Fix" for [#24934] Particle single user crash
Janne Karhu [Fri, 26 Nov 2010 15:37:08 +0000 (15:37 +0000)]
"Fix" for [#24934] Particle single user crash
* Changing anything related to particle settings shouldn't be allowed when in particle mode, so disabled the buttons in ui.

10 years agoBug fix: voxeldata texture extension didn't work.
Janne Karhu [Fri, 26 Nov 2010 14:33:44 +0000 (14:33 +0000)]
Bug fix: voxeldata texture extension didn't work.
* Code was using tex->extend instead of vd->extend.

10 years agolasso select wasn't comparing the depth with particle selection, where border and...
Campbell Barton [Fri, 26 Nov 2010 13:40:47 +0000 (13:40 +0000)]
lasso select wasn't comparing the depth with particle selection, where border and circle select do.

10 years agobugfix [#23118] Blender freezes when combing hair - OS X path changes related?
Campbell Barton [Fri, 26 Nov 2010 12:57:35 +0000 (12:57 +0000)]
bugfix [#23118] Blender freezes when combing hair - OS X path changes related?
- glReadPixels() was running to get the depth on each pixel, this works fine one some cards but was locking up on OSX.
- Replace glReadPixels() call with a single call to view3d_update_depths() right after view3d_validate_backbuf(), so the depths are only read once.
- Unrelated to the changes above, but should improve performance: view3d_validate_backbuf() was being called on every redraw while combing, now only call once when combing starts.

10 years agoremove calls to update the depth buffer while in particle editmode, this calls glRead...
Campbell Barton [Fri, 26 Nov 2010 12:38:42 +0000 (12:38 +0000)]
remove calls to update the depth buffer while in particle editmode, this calls glReadPixels() for the viewport which is slow on some systems and the depths are currently not used.

10 years agofreeing all free GPU buffers every frame could be a performance issue and is not...
Lukas Steiblys [Fri, 26 Nov 2010 11:20:03 +0000 (11:20 +0000)]
freeing all free GPU buffers every frame could be a performance issue and is not necessary

10 years agofollow up of "Bugfix #23576" (Logic UI) - replacing hardcoded values by RNA_struct_is...
Dalai Felinto [Fri, 26 Nov 2010 03:58:31 +0000 (03:58 +0000)]
follow up of "Bugfix #23576" (Logic UI) - replacing hardcoded values by RNA_struct_is_a + making rna_sensor future proof

10 years agoFix #24855: disabling shadows didn't disable AO/env with ray transparency
Brecht Van Lommel [Fri, 26 Nov 2010 03:50:14 +0000 (03:50 +0000)]
Fix #24855: disabling shadows didn't disable AO/env with ray transparency
and AO multiply mode.

10 years agoBGE Bugfix: [#24926] Sensor 'Radar' les axes X+ et Y+ ont été inversé. (oui, a french...
Dalai Felinto [Fri, 26 Nov 2010 03:37:08 +0000 (03:37 +0000)]
BGE Bugfix: [#24926] Sensor 'Radar' les axes X+ et Y+ ont été inversé. (oui, a french bug report :)
we were using SENSOR_RAY for the radar sensor axis. However the Ray axis is inverted (God knows why) so I created a set of defines only for radar sensor.

Also I thought it was a good idea to replace some hardcoded values in Radar and Ray codes by their defines in DNA_sensor_types.h (similar to what Benoit did for Armature Sensor, so I see no problem on that).

10 years agoFix #24923: tweak falloff strength tooltip to apply both to AO and indirect.
Brecht Van Lommel [Fri, 26 Nov 2010 03:31:12 +0000 (03:31 +0000)]
Fix #24923: tweak falloff strength tooltip to apply both to AO and indirect.

10 years agoFix #24775: boolean modifier crash in rendering on Mac. Problem was that this
Brecht Van Lommel [Fri, 26 Nov 2010 03:26:57 +0000 (03:26 +0000)]
Fix #24775: boolean modifier crash in rendering on Mac. Problem was that this
ran out of stack memory, now it passes some arguments by reference instead of
by value to use less stack space.

10 years agofix [#24900] Texture paint mode broken
Campbell Barton [Fri, 26 Nov 2010 00:52:37 +0000 (00:52 +0000)]
fix [#24900] Texture paint mode broken
own commit r33070 broke this.

10 years agoATI X1xxx gfx cards (R500 chipset) lack full support for npot textures although they...
Janne Karhu [Thu, 25 Nov 2010 22:15:04 +0000 (22:15 +0000)]
ATI X1xxx gfx cards (R500 chipset) lack full support for npot textures although they report the GLEW_ARB_texture_non_power_of_two extension.

10 years agoSmoke domain resolutions were calculated wrong for non-cube domains in some cases.
Janne Karhu [Thu, 25 Nov 2010 22:13:40 +0000 (22:13 +0000)]
Smoke domain resolutions were calculated wrong for non-cube domains in some cases.

10 years agobugfix while looking into [#24900], color wasn't being set for face-mask mode.
Campbell Barton [Thu, 25 Nov 2010 21:59:12 +0000 (21:59 +0000)]
bugfix while looking into [#24900], color wasn't being set for face-mask mode.

10 years agobone roll recalculate, option to use active bones Z axis.
Campbell Barton [Thu, 25 Nov 2010 20:50:50 +0000 (20:50 +0000)]
bone roll recalculate, option to use active bones Z axis.

10 years agobugfix [#24907] bone roll z up broken and python script showing correct method to...
Campbell Barton [Thu, 25 Nov 2010 19:49:07 +0000 (19:49 +0000)]
bugfix [#24907] bone roll z up broken and python script showing correct method to roll bones
from Josh Wedlake (joshwedlake), who provided a reference script used to apply changes in ED_rollBoneToVector().

- Obvious bug fixed where Z-Up didnt work right.
- More align axis options to Recalculate Roll operator: X/Y/Z/View Axis & Negate.
- Axis Only option, ignore the axis direction, use shortest rotation to align bones.

ED_rollBoneToVector() changes:
- would give bad roll when the axis wasn't normalized or perpendicular to the bone.
  some callers accounted for this but not all.
- option to align to the axis but not the direction.

10 years agoFixed bug with Text menu in font edit mode
Sergey Sharybin [Thu, 25 Nov 2010 18:22:59 +0000 (18:22 +0000)]
Fixed bug with Text menu in font edit mode

10 years agofix for
Lukas Steiblys [Thu, 25 Nov 2010 17:36:03 +0000 (17:36 +0000)]
fix for
[#24442] GLSL + VBOs

10 years agonew vectors that were the result of functions or operators were not using the same...
Campbell Barton [Thu, 25 Nov 2010 16:00:06 +0000 (16:00 +0000)]
new vectors that were the result of functions or operators were not using the same subclass as the vectors they were derived from.

10 years agobugfix [#24916] Blender Crash after inappropriate Merge-Command
Campbell Barton [Thu, 25 Nov 2010 15:03:36 +0000 (15:03 +0000)]
bugfix [#24916] Blender Crash after inappropriate Merge-Command

10 years agoRedraw 3d view when new object was added (NC_OBJECT|NA_ADDED notifier)
Sergey Sharybin [Thu, 25 Nov 2010 14:56:02 +0000 (14:56 +0000)]
Redraw 3d view when new object was added (NC_OBJECT|NA_ADDED notifier)

This fixes one issue from #24914: 3D text glitch and crash ("delayed" 3d view refresh)

10 years ago== console ==
Luca Bonavita [Thu, 25 Nov 2010 14:55:03 +0000 (14:55 +0000)]
== console ==

- banner formatting

== sphinx doc ==

- put the example below the documentation itself

10 years agofound some errors while looking into bug #24909, in exceptional cases where the PNG...
Campbell Barton [Thu, 25 Nov 2010 14:00:11 +0000 (14:00 +0000)]
found some errors while looking into bug #24909, in exceptional cases where the PNG could not be saved it could leak memory and not close the file.

10 years agoPossible fix for the issue that came up in [#24890] Vector Blur node is Buggy
Janne Karhu [Thu, 25 Nov 2010 11:38:55 +0000 (11:38 +0000)]
Possible fix for the issue that came up in [#24890] Vector Blur node is Buggy
* Apparently some compilers don't respect proper operator precedence, so added some parentheses around to make inline conditionals unambiguous.

10 years agoFix polling order for ui panels in netrender.
Martin Poirier [Thu, 25 Nov 2010 01:25:47 +0000 (01:25 +0000)]
Fix polling order for ui panels in netrender.

Was broken by r33071 but order wasn't optimal even before. Should be snappier now (at least only check if correct render engine is selected).

10 years agoSpline IK Bugfix:
Joshua Leung [Wed, 24 Nov 2010 23:36:36 +0000 (23:36 +0000)]
Spline IK Bugfix:

Binding code had off-by-1 error, which meant that when "Even Divisions" was disabled the length of the wrong bone would get used.

This error was most noticeable when the lengths of the bones were quite different - for example, a chain with 3 bones of increasing length. Thanks to "Julius" on BlenderArtists for catching this. Cheers!


Also, simplified the binding code loop a bit to prevent this sort of error in future.

10 years agoOSX: Patch associated with Python update to 3.1.2.
Damien Plisson [Wed, 24 Nov 2010 21:39:07 +0000 (21:39 +0000)]
OSX: Patch associated with Python update to 3.1.2.
Thanks to Jens Verwiebe for making the build and the patch to make the Game Engine build again with it.

10 years agodrivers could reference invalid index values outside the bounds of the array.
Campbell Barton [Wed, 24 Nov 2010 21:33:07 +0000 (21:33 +0000)]
drivers could reference invalid index values outside the bounds of the array.

10 years agodefine UNUSED() locally for mmap_win
Campbell Barton [Wed, 24 Nov 2010 20:56:25 +0000 (20:56 +0000)]
define UNUSED() locally for mmap_win

10 years agofix for crash introduced r33257, also tag some vars as unused.
Campbell Barton [Wed, 24 Nov 2010 20:13:37 +0000 (20:13 +0000)]
fix for crash introduced r33257, also tag some vars as unused.

10 years agofix [#24893] Minor error message glitch
Campbell Barton [Wed, 24 Nov 2010 19:06:56 +0000 (19:06 +0000)]
fix [#24893] Minor error message glitch

10 years agobugfix [#24884] Loading any preset leads to crash
Campbell Barton [Wed, 24 Nov 2010 18:37:54 +0000 (18:37 +0000)]
bugfix [#24884] Loading any preset leads to crash
caused by own recent commit. update uv operator template too.

10 years agobugfix [#24887] Crash on snapping verts on other object
Campbell Barton [Wed, 24 Nov 2010 18:02:35 +0000 (18:02 +0000)]
bugfix [#24887] Crash on snapping verts on other object
now the derived mesh and the editmesh will always have matching faces.

10 years agoclose addon files, Py3.2 now complains when files are left open.
Campbell Barton [Wed, 24 Nov 2010 17:29:22 +0000 (17:29 +0000)]
close addon files, Py3.2 now complains when files are left open.

10 years agoBugfix #24887
Ton Roosendaal [Wed, 24 Nov 2010 17:13:02 +0000 (17:13 +0000)]
Bugfix #24887

Crash in snapping, bvh tree. Wrong check for numFaces here.
Fixed the crash by adding test for face pointer, but not sure
what the coder intended here. Needs investigation, left XXX remark.

10 years agofix for crash canceling fly mode.
Campbell Barton [Wed, 24 Nov 2010 16:54:18 +0000 (16:54 +0000)]
fix for crash canceling fly mode.

10 years agoBugfix #24847
Ton Roosendaal [Wed, 24 Nov 2010 16:34:38 +0000 (16:34 +0000)]
Bugfix #24847

When report error was drawn in info header, using border select
or paint brushes flickered. Was caused by Triple Buffer method
not checking for correct redraw case.

Also made report redraws less aggressive, it was drawing the info
header all over with 50 FPS for 10 seconds. Made it 20 FPS, and
added code to only send notifiers for actual changes.

As todo note for future: animated UI options could get better
caching to cope with slower refreshes.

10 years agobugfix [#24882] fbx exporter Krash, screw objects and animations
Campbell Barton [Wed, 24 Nov 2010 15:57:59 +0000 (15:57 +0000)]
bugfix [#24882] fbx exporter Krash, screw objects and animations
fixed remaining issue with win32 paths.

10 years agoTypo in commit... for some reason rna_xx.c files compile without warning?
Ton Roosendaal [Wed, 24 Nov 2010 15:05:54 +0000 (15:05 +0000)]
Typo in commit... for some reason rna_xx.c files compile without warning?

10 years agoadd a window manager to files loaded from 2.4x in background mode. (partial fix for...
Campbell Barton [Wed, 24 Nov 2010 14:40:03 +0000 (14:40 +0000)]
add a window manager to files loaded from 2.4x in background mode. (partial fix for [#24882]).

10 years agoBugfix #23576
Ton Roosendaal [Wed, 24 Nov 2010 14:34:16 +0000 (14:34 +0000)]
Bugfix #23576

Logic Window: Actuator type options in menu didn't show special options
for Armature or Mesh when 'show selected' was used.

Dalai proposed a nice new RNA feature for inherited types, but with
only two exceptions handled, it was easy to code this check.

10 years agoFix #24782: proxy armature Layer state not saved with file. Was in 2.4x but
Brecht Van Lommel [Wed, 24 Nov 2010 14:05:53 +0000 (14:05 +0000)]
Fix #24782: proxy armature Layer state not saved with file. Was in 2.4x but
not ported to 2.5x, implemented a bit different now to fit RNA better.

10 years agocorrection while looking into another bug, setup_app_data() will always free window...
Campbell Barton [Wed, 24 Nov 2010 14:05:09 +0000 (14:05 +0000)]
correction while looking into another bug, setup_app_data() will always free window manages if mode==0, but had left the contexts manager variable which could be used later.

10 years agofix [#24879] "Feather" symmetry option in sculpt mode crashes.
Campbell Barton [Wed, 24 Nov 2010 12:38:18 +0000 (12:38 +0000)]
fix [#24879] "Feather" symmetry option in sculpt mode crashes.
rotate_m4() was being called with axis=0

10 years agowhen fail to read a blend, report the filepath too, less confusing when chaining...
Campbell Barton [Wed, 24 Nov 2010 12:17:26 +0000 (12:17 +0000)]
when fail to read a blend, report the filepath too, less confusing when chaining together multiple blends.

10 years agoFix for [#24877] Cloth + hair bug
Janne Karhu [Wed, 24 Nov 2010 11:37:09 +0000 (11:37 +0000)]
Fix for [#24877] Cloth + hair bug
* Particles needed the original index layer, but didn't ask for it.

10 years agoFixes for [#24862] Fluid Simulator issues
Janne Karhu [Wed, 24 Nov 2010 10:56:15 +0000 (10:56 +0000)]
Fixes for [#24862] Fluid Simulator issues
* Fluid baking (using the job system) didn't update the "lastgoodframe" anymore, so reversing the frames didn't work. Now the last valid frame is checked by going through all fluid bake files when "reverse frames" is selected.
* There was all kinds of fancy checks done in the fluid modifier for reading a different frame in different cases, but as the "lastgoodframe" was really not working I don't see the point of this whole code, so removed it for now. The new functionality is: if the fluid data for current frame exists use it, otherwise just return unmodified domain mesh without any fancy backup plans.
* There were also some errors on reading uncompleted files (scrubbing timeline while bake was running), so I made the fluid file reader just return null if the number of faces didn't correspond to to actually read data. Previously this just printed an error to the console.

10 years agobugfix [#23871] OSX panel button bug (Python Namespace issue)
Campbell Barton [Wed, 24 Nov 2010 10:23:23 +0000 (10:23 +0000)]
bugfix [#23871] OSX panel button bug (Python Namespace issue)

This is an annoying but which isn't a problem for Python because they don't execute multiple scripts, one after another (there is one __main__ and everything else is a module).

So when the __main__ module in sys.modules is overwritten, it decref's the module and clears the dictionary with _PyModule_Clear(), even though the modules dictionary is still in use.

Strangely this problem only happens with Python3.1.1 and Python3.2x svn but not 3.1.2

This commit restores the namespace after _PyModule_Clear() sets all its values to None.

10 years agoRemove library specification.
Nathan Letwory [Wed, 24 Nov 2010 09:13:59 +0000 (09:13 +0000)]
Remove library specification.

10 years agoReverting revision 33120, which added vram monitoring. The method used had some probl...
Mitchell Stokes [Wed, 24 Nov 2010 06:27:07 +0000 (06:27 +0000)]
Reverting revision 33120, which added vram monitoring. The method used had some problems (especially in the freeing function). I will research an alternative solution and submit it to the tracker.

10 years agoWhen exporting images also add the string name (attribute). This is optional, but...
Nathan Letwory [Tue, 23 Nov 2010 23:58:12 +0000 (23:58 +0000)]
When exporting images also add the string name (attribute). This is optional, but it helps other viewers importing from Blender .dae exports.

Small request by factor in IRC.

10 years agoFix #24834: curves extrude + bevel gave bad normals on rendering.
Brecht Van Lommel [Tue, 23 Nov 2010 20:32:15 +0000 (20:32 +0000)]
Fix #24834: curves extrude + bevel gave bad normals on rendering.

This happened when removing vertex normal flipping in the render engine. But
actually the normal of the first face in the curve was flipped on rendering,
because it used a different vertex order than other places. Also removed the
hack that computes a face normal only from a triangle instead of a quad.

10 years agoSmall feature fix: zero-user blocks get indicated with "0" again in
Ton Roosendaal [Tue, 23 Nov 2010 19:06:54 +0000 (19:06 +0000)]
Small feature fix: zero-user blocks get indicated with "0" again in

10 years agoBugfix #24860
Ton Roosendaal [Tue, 23 Nov 2010 17:28:41 +0000 (17:28 +0000)]
Bugfix #24860

On entering editmode Curve/Nurbs, the undo buffer was not
correct; storing old Curve/Nurbs object name. This caused
for example the Operator tool redo options to fail; it added
another curve on first use (with user pref "enter editmode).

Solved with adding good undo push + nicer code for curve and
nurbs naming.

10 years agouse unit system for the grid floor (was only ortho before).
Campbell Barton [Tue, 23 Nov 2010 17:14:03 +0000 (17:14 +0000)]
use unit system for the grid floor (was only ortho before).

10 years agominor edits to exception formatting (remove ... or \n from suffix)
Campbell Barton [Tue, 23 Nov 2010 16:45:17 +0000 (16:45 +0000)]
minor edits to exception formatting (remove ... or \n from suffix)

10 years agobugfix [#24871] Unwrapping with Smart Project give a bad result.
Campbell Barton [Tue, 23 Nov 2010 16:10:20 +0000 (16:10 +0000)]
bugfix [#24871] Unwrapping with Smart Project give a bad result.

10 years agofix for typo in mathutils vec.to_track_quat() argument parsing.
Campbell Barton [Tue, 23 Nov 2010 16:07:51 +0000 (16:07 +0000)]
fix for typo in mathutils vec.to_track_quat() argument parsing.

10 years agoChanged some ui names for smoke parameters to make things less ambiguous.
Janne Karhu [Tue, 23 Nov 2010 15:16:19 +0000 (15:16 +0000)]
Changed some ui names for smoke parameters to make things less ambiguous.

10 years agoFix for [#19706] Smoke 'sticks' to Collision objects initial position
Janne Karhu [Tue, 23 Nov 2010 14:40:27 +0000 (14:40 +0000)]
Fix for [#19706] Smoke 'sticks' to Collision objects initial position
* Smoke got emitted inside collision cells, so it got stuck there.

10 years agochanges in own recent commit broke MSVC building.
Campbell Barton [Tue, 23 Nov 2010 14:38:02 +0000 (14:38 +0000)]
changes in own recent commit broke MSVC building.

10 years agoChanges to the ortho grid drawing based on discussion with Ton.
Campbell Barton [Tue, 23 Nov 2010 14:14:06 +0000 (14:14 +0000)]
Changes to the ortho grid drawing based on discussion with Ton.
- ortho grid now draws scaled by the view3d 'Scale' setting, venomgfx noticed this was missing.
- so as not to confuse add scale next to unit display text, so rather then "Metres" it shows "Metres x 1.5" otherwise its confusing that grid lines are not in exact units.
- changed grid spacing to grid scale (needed for more logical behavior with units)
- when units are enabled grey out subdivisions.

10 years agoCached smoke wasn't being drawn on file load before going to simulation start frame.
Janne Karhu [Tue, 23 Nov 2010 14:04:05 +0000 (14:04 +0000)]
Cached smoke wasn't being drawn on file load before going to simulation start frame.

10 years agotransform snapping to a unit scaled grid was broken.
Campbell Barton [Tue, 23 Nov 2010 13:28:13 +0000 (13:28 +0000)]
transform snapping to a unit scaled grid was broken.

10 years agofix [#24870] ObjectActuator.offset_rotation in radians
Campbell Barton [Tue, 23 Nov 2010 12:23:19 +0000 (12:23 +0000)]
fix [#24870] ObjectActuator.offset_rotation in radians

10 years agopartial fix for [#23532]
Campbell Barton [Tue, 23 Nov 2010 12:05:35 +0000 (12:05 +0000)]
partial fix for [#23532]
- Python calling operators didn't run WM_operator_properties_sanitize() so enum functions called from python were given a NULL context.
- PROP_ENUM_NO_CONTEXT and PROP_NEVER_NULL used the same value in the enum (possible conflict).

10 years agoParticle fluid and boid settings didn't have a valid rna path, so they couldn't be...
Janne Karhu [Tue, 23 Nov 2010 11:15:38 +0000 (11:15 +0000)]
Particle fluid and boid settings didn't have a valid rna path, so they couldn't be animated.

10 years agouse zero initializers instead of memset(), also change PointerRNA_NULL from an extern...
Campbell Barton [Tue, 23 Nov 2010 08:44:21 +0000 (08:44 +0000)]
use zero initializers instead of memset(), also change PointerRNA_NULL from an extern into a define.

10 years agoextensions_framework: fix UI drawing logic
Doug Hammond [Tue, 23 Nov 2010 00:23:57 +0000 (00:23 +0000)]
extensions_framework: fix UI  drawing logic

10 years agoextensions_framework: fix UI drawing bug and some redundant code
Doug Hammond [Tue, 23 Nov 2010 00:06:09 +0000 (00:06 +0000)]
extensions_framework: fix UI  drawing bug and some redundant code

10 years agoPartial fix for #24773: Material Nodes - there isn't able to set keys on Mapping...
Joshua Leung [Mon, 22 Nov 2010 23:59:00 +0000 (23:59 +0000)]
Partial fix for #24773: Material Nodes - there isn't able to set keys on Mapping coordinates

Playback now works. The problem was that material/texture nodetrees were getting ignored completely, as I was assuming that all of these existed in the main->nodetree collection when in fact only the "group" nodetrees lived there. I don't really agree with this, but that's the way it is...

TODO: animation editor support still to come

10 years agofix for player with recent update.
Campbell Barton [Mon, 22 Nov 2010 23:47:00 +0000 (23:47 +0000)]
fix for player with recent update.

10 years agoerror in own recent commit
Campbell Barton [Mon, 22 Nov 2010 23:41:00 +0000 (23:41 +0000)]
error in own recent commit

10 years agofix for building with mingw/cmake
Campbell Barton [Mon, 22 Nov 2010 23:25:21 +0000 (23:25 +0000)]
fix for building with mingw/cmake

10 years agofix for cmake if build flags are not defined.
Campbell Barton [Mon, 22 Nov 2010 23:06:57 +0000 (23:06 +0000)]
fix for cmake if build flags are not defined.

10 years agoFix #24596: specular toggle on material didn't work correct.
Brecht Van Lommel [Mon, 22 Nov 2010 22:23:50 +0000 (22:23 +0000)]
Fix #24596: specular toggle on material didn't work correct.

10 years agofix [#24866] object/transform/align objects error
Campbell Barton [Mon, 22 Nov 2010 20:54:26 +0000 (20:54 +0000)]
fix [#24866] object/transform/align objects error

10 years agobugfix [#23609] Lamp PointerProperty
Campbell Barton [Mon, 22 Nov 2010 20:44:59 +0000 (20:44 +0000)]
bugfix [#23609] Lamp PointerProperty

10 years agoBugfix #24823
Ton Roosendaal [Mon, 22 Nov 2010 18:51:40 +0000 (18:51 +0000)]
Bugfix #24823

Color picker: RMB "insert single value" was inserting all three values.
Same case as yesterday, made code recurse into open menu to check for
active button there.

10 years agoMore button alignment stuff: campbell had a script that was
Ton Roosendaal [Mon, 22 Nov 2010 18:41:08 +0000 (18:41 +0000)]
More button alignment stuff: campbell had a script that was
drawing various cases. Fixed another one. :)

10 years agoBugfix #24856
Ton Roosendaal [Mon, 22 Nov 2010 18:11:40 +0000 (18:11 +0000)]
Bugfix #24856

Button aligning revisited. Now layer buttons draw OK too, and even
better than before (missed a rounded corner!)

10 years agobugfix [#24805] bpy operator runs in wrong order or is ignored at all
Campbell Barton [Mon, 22 Nov 2010 17:21:18 +0000 (17:21 +0000)]
bugfix [#24805] bpy operator runs in wrong order or is ignored at all

10 years agofix for triangulate OBJ export option.
Campbell Barton [Mon, 22 Nov 2010 16:20:59 +0000 (16:20 +0000)]
fix for triangulate OBJ export option.
reworked fix from Radu Danciu

10 years agobugfix [#20768] Project Snap Broken
Campbell Barton [Mon, 22 Nov 2010 14:16:11 +0000 (14:16 +0000)]
bugfix [#20768] Project Snap Broken

10 years agorna invoke function wm.invoke_confirm() for python access.
Campbell Barton [Mon, 22 Nov 2010 13:43:51 +0000 (13:43 +0000)]
rna invoke function wm.invoke_confirm() for python access.