10 years agoincludes for building with gcc 4.6 on fedora.
Campbell Barton [Wed, 30 Mar 2011 16:14:54 +0000 (16:14 +0000)]
includes for building with gcc 4.6 on fedora.
patch from Richard Shaw

10 years agoquiet gcc implicit float -> double warnings & use floats in places.
Campbell Barton [Wed, 30 Mar 2011 16:11:16 +0000 (16:11 +0000)]
quiet gcc implicit float -> double warnings & use floats in places.

10 years agofix [#26685] Cannot exit from "edit mode"
Campbell Barton [Wed, 30 Mar 2011 15:28:38 +0000 (15:28 +0000)]
fix [#26685] Cannot exit from "edit mode"
this does not fix the underlying problem that once in this state you cant exit editmode, only that the layer key bindings dont let the state come about.

Looked into fixing properly but its not so simple since currently object mode operators all use "active_object" which is supposed not to be set when in a hidden layer.

10 years agopass pep8 checker.
Campbell Barton [Wed, 30 Mar 2011 15:02:02 +0000 (15:02 +0000)]
pass pep8 checker.

10 years agoSmall update to the quick effects operators:
Janne Karhu [Wed, 30 Mar 2011 13:35:54 +0000 (13:35 +0000)]
Small update to the quick effects operators:
* "Make fur" now creates a basic fur material for each object (smaller strand tip width and a little bit of surface diffuse)
* If fluid/smoke emitters aren't rendered the objects are also set to draw only in wire mode so that the fluid/smoke can be clearly seen.

10 years agodisallow rna paths resolving to upper case X/Y/Z/X / R/G/B/A, python cant resolve...
Campbell Barton [Wed, 30 Mar 2011 11:51:06 +0000 (11:51 +0000)]
disallow rna paths resolving to upper case X/Y/Z/X / R/G/B/A, python cant resolve these.

10 years agoCOLLADA lights:
Nathan Letwory [Wed, 30 Mar 2011 10:51:01 +0000 (10:51 +0000)]
COLLADA lights:

* simplify export and import, now that we have blender profiles for lights. The vanilla import is now more in line with the specs. If a blender profile is found, skip normal import, use the profile data instead.
* multiply energy into color rgb export (common profile).
* recalc distance taking metrics in account

10 years agoQuick effects operators:
Janne Karhu [Wed, 30 Mar 2011 10:29:32 +0000 (10:29 +0000)]
Quick effects operators:
* A couple of operators to quickly create effects that would otherwise take some time to set up.
* Nice to use for demoing functionality or as a starting point for more complex effects.
* "Make Fur" - Gives every selected mesh object particle fur with a desired density and length.
* "Make Smoke" - Makes each selected object a smoke emitter and creates a new domain object around the emitters with the correct material to render the smoke.
** Has style options for "stream": constant smoke flow, "puff": only create smoke once from the volume of the emitter object, "fire": enable high resolution smoke and set a secondary fire color texture for the domain object.
* "Make Fluid" - Makes every selected object a fluid object (normal/inflow) and has the option to start fluid baking immediately.
* This should provide a nice base for extending these / adding more operators for different effects.

10 years agomodify error when python is not found so as not to confuse users who don't build...
Campbell Barton [Wed, 30 Mar 2011 07:21:41 +0000 (07:21 +0000)]
modify error when python is not found so as not to confuse users who don't build blender.
+ minor edits.

10 years agoprint warning on windows/mac when bundled python is not found, suggesting to build...
Campbell Barton [Wed, 30 Mar 2011 06:27:39 +0000 (06:27 +0000)]
print warning on windows/mac when bundled python is not found, suggesting to build the 'install' target.

10 years agoApply patch [#26660] Scons build on OSX fails to create Info.plist file fix
Nathan Letwory [Wed, 30 Mar 2011 05:44:01 +0000 (05:44 +0000)]
Apply patch [#26660] Scons build on OSX fails to create Info.plist file fix
provided by Mike Sloman

from the patch report:

When building on Mac OSX with SCONS the Info.plist file is zero length and thus OSX cannot identify icons and file type associations.

The problems was in the execution of the "date" command to add times in the modified bundle name strings passed to sed. This failed and thus the info.plist file was overwritten with 0 length file.

10 years agoupdate blender release cycle ID.
Campbell Barton [Wed, 30 Mar 2011 05:08:52 +0000 (05:08 +0000)]
update blender release cycle ID.

10 years agoquiet gcc's float/double warnings.
Campbell Barton [Wed, 30 Mar 2011 05:07:12 +0000 (05:07 +0000)]
quiet gcc's float/double warnings.

10 years ago- include for BGE joystick sensor
Campbell Barton [Wed, 30 Mar 2011 04:58:45 +0000 (04:58 +0000)]
- include for BGE joystick sensor
- remove print from numinput and get rid of some float/double warnings.
- nicer align line-number in text  editor.

10 years agofix [#26682] Accessing weight sometimes crashes blender
Campbell Barton [Wed, 30 Mar 2011 02:59:32 +0000 (02:59 +0000)]
fix [#26682] Accessing weight sometimes crashes blender
also replace object type check from vgroup_edit_lattice() with an assert since all callers check for lattice type.

10 years agoFix for old bug with subsurf not initializing normals for edges that had no faces,
Campbell Barton [Wed, 30 Mar 2011 02:05:10 +0000 (02:05 +0000)]
Fix for old bug with subsurf not initializing normals for edges that had no faces,
Noted that a floating point exception caused by this r28953.

With the render engine using DerivedMesh normals this came up as a memory error when rendering some files.

for now zero the normals, could interpolate between vertex normals if needed.

10 years agoFix for [#26646] Hair particle density texture prevents strand render on linked assets
Janne Karhu [Tue, 29 Mar 2011 21:00:42 +0000 (21:00 +0000)]
Fix for [#26646] Hair particle density texture prevents strand render on linked assets
* Linked particle textures weren't expanded during file load.

10 years agofixes in Bullet stuff, roll influence for raycast vehicles was broken,
Erwin Coumans [Tue, 29 Mar 2011 18:44:18 +0000 (18:44 +0000)]
fixes in Bullet stuff, roll influence for raycast vehicles was broken,
enable the setPhysicsTicRate for BGE Python

10 years agofix [#26623] script/console windows: BACKSPACE does not work when SHIFT is held
Campbell Barton [Tue, 29 Mar 2011 16:52:26 +0000 (16:52 +0000)]
fix [#26623] script/console windows: BACKSPACE does not work when SHIFT is held

10 years agofix [#26667] Can't import scripts when using blenderplayer
Campbell Barton [Tue, 29 Mar 2011 16:12:25 +0000 (16:12 +0000)]
fix [#26667] Can't import scripts when using blenderplayer
- move import override initialization to bpy_internal_import.c so the player and blender can both call.
- remove ineffectual & unused sandboxing code.

10 years agoapply patch for body suspend/resume
Erwin Coumans [Tue, 29 Mar 2011 15:46:02 +0000 (15:46 +0000)]
apply patch for body suspend/resume
See also issue #26614

10 years agoFix #26653: changed DPI setting in user preferences is not saved as default.
Brecht Van Lommel [Tue, 29 Mar 2011 14:39:39 +0000 (14:39 +0000)]
Fix #26653: changed DPI setting in user preferences is not saved as default.
Clamping on load did not match RNA property min/max.

10 years agouse less verbose string formatting for units and interface.
Campbell Barton [Tue, 29 Mar 2011 14:36:55 +0000 (14:36 +0000)]
use less verbose string formatting for units and interface.

10 years agofix [#26657] Smart UV Project missing from Unwrap menu in 3D Viewport
Campbell Barton [Tue, 29 Mar 2011 14:13:11 +0000 (14:13 +0000)]
fix [#26657] Smart UV Project missing from Unwrap menu in 3D Viewport

10 years agofix [#26656] video sequence editor rendering stops at frame 9999
Campbell Barton [Tue, 29 Mar 2011 14:07:07 +0000 (14:07 +0000)]
fix [#26656] video sequence editor rendering stops at frame 9999

10 years agofix [#26666] Snapping the cursor to selected in UV Image Editor when unwrapping cause...
Campbell Barton [Tue, 29 Mar 2011 13:48:28 +0000 (13:48 +0000)]
fix [#26666] Snapping the cursor to selected in UV Image Editor when unwrapping causes an assert.

10 years agoFix #26637: another problem with recent normals change, objects with negative
Brecht Van Lommel [Tue, 29 Mar 2011 13:37:16 +0000 (13:37 +0000)]
Fix #26637: another problem with recent normals change, objects with negative
scale did not get correct render normals.

10 years agoFix for [#26664] Some particle panels disappear when pinned
Janne Karhu [Tue, 29 Mar 2011 13:00:59 +0000 (13:00 +0000)]
Fix for [#26664] Some particle panels disappear when pinned
* Too strict poll functions for render & display panels.
* Like said in the report cache & vertex groups are a part of the particle system (not particle settings) they can't be shown when the settings are pinned.

10 years agoApply [#26044] Windows thumbnails and improved filetype registration
Nathan Letwory [Tue, 29 Mar 2011 13:00:03 +0000 (13:00 +0000)]
Apply [#26044] Windows thumbnails and improved filetype registration
submitted by Tom Edwards
Fix [#25473] 64bit Windows installer for version 2.56 is not working
patch submitted by Caleb (Dobz)

The thumbnail patch adds a thumb handler DLL that adds .blend thumbnail support in Windows Explorer. A -r option is added to do registration in background. The patch also improves icon building and metadata for blender.exe.

Caleb fixes and cleans up our installer to an acceptable state. The patch uses the new -r option to do the .blend extension and thumbnailer registration.

Thanks to both Caleb and Tom for their efforts!

10 years agoFix for [#26665] Force field absorption does not work
Janne Karhu [Tue, 29 Mar 2011 12:50:43 +0000 (12:50 +0000)]
Fix for [#26665] Force field absorption does not work
* Old bug fix led to all kinds of wrong behavior with "plane" shaped effectors, now things are working properly again.

10 years agobuild target was changing into wrong directory.
Nathan Letwory [Tue, 29 Mar 2011 12:10:41 +0000 (12:10 +0000)]
build target was changing into wrong directory.

10 years agoremove DEBUG flag from OpenNL with cmake, was giving too many prints in the console...
Campbell Barton [Tue, 29 Mar 2011 11:50:37 +0000 (11:50 +0000)]
remove DEBUG flag from OpenNL with cmake, was giving too many prints in the console when unwrapping.

10 years agoFix for [#26658] Permeable colliders stop particles
Janne Karhu [Tue, 29 Mar 2011 10:27:31 +0000 (10:27 +0000)]
Fix for [#26658] Permeable colliders stop particles
* Forgot this exception from the collisions rewrite. Don't check collisions with the same face twice.

10 years agoBugfix [#26645] Crash when duplicating an object with driver
Joshua Leung [Tue, 29 Mar 2011 09:37:53 +0000 (09:37 +0000)]
Bugfix [#26645] Crash when duplicating an object with driver

Missing null check for "improper" driver variables.


Also, this commit includes some WIP NLA evaluation reshuffling which
should be harmless. I had originally intended this for a later

10 years agoBugfix [#26650] Reset to Default Theme doesn't reset Bone Color Sets
Joshua Leung [Tue, 29 Mar 2011 09:28:46 +0000 (09:28 +0000)]
Bugfix [#26650] Reset to Default Theme doesn't reset Bone Color Sets

Bone Color Sets weren't set in the call used here. This seems to be a
newish operator that didn't exist in the past, so this error didn't
really show up in the past.

10 years agoadd rna read-only width/height for screen areas.
Campbell Barton [Tue, 29 Mar 2011 05:49:34 +0000 (05:49 +0000)]
add rna read-only width/height for screen areas.

10 years agouse RNA_warning() rather then printf() so we get the python line number.
Campbell Barton [Tue, 29 Mar 2011 05:10:36 +0000 (05:10 +0000)]
use RNA_warning() rather then printf() so we get the python line number.

10 years agouse 'is None' rather then '== None' as suggested by python docs & mis-spelling.
Campbell Barton [Tue, 29 Mar 2011 04:16:55 +0000 (04:16 +0000)]
use 'is None' rather then '== None' as suggested by python docs & mis-spelling.

10 years ago2 fixes for un-initialized memory uses, when running testfile: teapot_envmap.blend
Campbell Barton [Tue, 29 Mar 2011 01:47:03 +0000 (01:47 +0000)]
2 fixes for un-initialized memory uses, when running testfile: teapot_envmap.blend
boxsample() expected talpha to be set beforehand, also dont set the int value as a float since its confusing.

10 years agoSVN maintenance.
Guillermo S. Romero [Mon, 28 Mar 2011 21:30:41 +0000 (21:30 +0000)]
SVN maintenance.

10 years ago"Error totblock" renamed into "Error: Not freed memory blocks"
Ton Roosendaal [Mon, 28 Mar 2011 18:56:43 +0000 (18:56 +0000)]
"Error totblock" renamed into "Error: Not freed memory blocks"

10 years agoMaintenance:
Ton Roosendaal [Mon, 28 Mar 2011 18:51:27 +0000 (18:51 +0000)]

Gave the report-timer (in top header) an own TIMER define, to not
confuse with timers in use for UI. Easier for debugging. :)
Also gave better malloc names to regions in 3d window.

All this for testing proper buffer drawing in Intel cards... which
is still unsolved.

10 years agomisc nodes & editors: floats were being implicitly promoted to doubles, adjust to...
Campbell Barton [Mon, 28 Mar 2011 17:08:33 +0000 (17:08 +0000)]
misc nodes & editors: floats were being implicitly promoted to doubles, adjust to use floats.
+ minor update to demo_mode

10 years agotransform: floats were being implicitly promoted to doubles, adjust to use floats.
Campbell Barton [Mon, 28 Mar 2011 17:06:15 +0000 (17:06 +0000)]
transform: floats were being implicitly promoted to doubles, adjust to use floats.
also use macros RAD2DEGF & DEG2RADF.

10 years ago2.5 3D View Properties UI:
Thomas Dinges [Mon, 28 Mar 2011 15:01:19 +0000 (15:01 +0000)]
2.5 3D View Properties UI:
Show text "Nothing selected" in "Transform" panel (edit mode) rather than only the empty panel.

10 years agoexample operator that uses a timer.
Campbell Barton [Mon, 28 Mar 2011 13:53:53 +0000 (13:53 +0000)]
example operator that uses a timer.

10 years agocolor gamma (such as theme colors), were not being wrapped by python as 'mathutils...
Campbell Barton [Mon, 28 Mar 2011 13:47:39 +0000 (13:47 +0000)]
color gamma (such as theme colors), were not being wrapped by python as 'mathutils.Color' types

10 years agoAddress [#26641] Texture Quick Edit kicks up error when Editor can't be found
Nathan Letwory [Mon, 28 Mar 2011 13:44:56 +0000 (13:44 +0000)]
Address [#26641] Texture Quick Edit kicks up error when Editor can't be found
reported by Keith Boshoff (Wahooney)

Instead of a confusing backtrace popup, tell the user the image editor cannot be found, and where to set the path to it.

10 years agoBugfix, irc report:
Ton Roosendaal [Mon, 28 Mar 2011 12:16:20 +0000 (12:16 +0000)]
Bugfix, irc report:

Entering editmode crashed, missing v3d properties storage, which got
accidentally removed.

10 years agoparticles & vector-font: floats were being implicitly promoted to
Campbell Barton [Mon, 28 Mar 2011 11:21:39 +0000 (11:21 +0000)]
particles & vector-font: floats were being implicitly promoted to
doubles, adjust to use floats.

10 years agoAdd missing header for *nix machines.
Nathan Letwory [Mon, 28 Mar 2011 11:04:38 +0000 (11:04 +0000)]
Add missing header for *nix machines.

10 years agoCrouch on IRC noticed inconsistency between name COLOR_SETS & attribute bone_color_sets
Campbell Barton [Mon, 28 Mar 2011 11:01:24 +0000 (11:01 +0000)]
Crouch on IRC noticed inconsistency between name COLOR_SETS & attribute bone_color_sets

10 years agoImport light blender profile if it exists.
Nathan Letwory [Mon, 28 Mar 2011 09:31:44 +0000 (09:31 +0000)]
Import light blender profile if it exists.

10 years agoFix for [#26617] convert hair particles to mesh crash rev:35787
Janne Karhu [Mon, 28 Mar 2011 08:27:19 +0000 (08:27 +0000)]
Fix for [#26617] convert hair particles to mesh crash rev:35787
* Hair to mesh conversion wasn't making sure the hairs had valid keys
* Patch by Sergey Sharybin

10 years agoBug fix: particles emitted from a moving emitter exploded with verlet integration
Janne Karhu [Mon, 28 Mar 2011 08:08:59 +0000 (08:08 +0000)]
Bug fix: particles emitted from a moving emitter exploded with verlet integration
* Verlet integration didn't like moving emitters, so now the first step for newborn particles with verlet is actually done with euler integration.

10 years agoAdd stubs for the new timer add and remove functions.
Nathan Letwory [Mon, 28 Mar 2011 05:37:25 +0000 (05:37 +0000)]
Add stubs for the new timer add and remove functions.

10 years agoRNA functions for adding timer (needed for demo mode, also useful for python modal...
Campbell Barton [Mon, 28 Mar 2011 04:55:24 +0000 (04:55 +0000)]
RNA functions for adding timer (needed for demo mode, also useful for python modal operators).
 - timer = WindowManager.event_timer_add(time_step, window=None)
 - WindowManager.event_timer_remove(timer)

Still TODO, is a way for python to check the timer identity.

10 years agoblenkernel: floats were being implicitly promoted to doubles, adjust to use floats.
Campbell Barton [Mon, 28 Mar 2011 04:22:50 +0000 (04:22 +0000)]
blenkernel: floats were being implicitly promoted to doubles, adjust to use floats.

10 years ago- quiet new warnings with gcc 4.6
Campbell Barton [Mon, 28 Mar 2011 02:34:55 +0000 (02:34 +0000)]
- quiet new warnings with gcc 4.6
- use BLI math funcs for normal float/short conversion.
- correct some un-intentional float/double promotions.

10 years agoset CMake's GCC warnings for GCC4.6.
Campbell Barton [Mon, 28 Mar 2011 02:11:51 +0000 (02:11 +0000)]
set CMake's GCC warnings for GCC4.6.
 -Wdouble-promotion -Wno-error=double-promotion

10 years agouvedit: floats were being implicitly promoted to doubles, adjust to use floats.
Campbell Barton [Mon, 28 Mar 2011 02:09:10 +0000 (02:09 +0000)]
uvedit: floats were being implicitly promoted to doubles, adjust to use floats.

10 years agoBugfix: One more place still using the old "keys" instead of
Joshua Leung [Sun, 27 Mar 2011 23:19:32 +0000 (23:19 +0000)]
Bugfix: One more place still using the old "keys" instead of

10 years ago[#26622] Blender crashes when calling transform operator
Martin Poirier [Sun, 27 Mar 2011 22:15:37 +0000 (22:15 +0000)]
[#26622] Blender crashes when calling transform operator

Add cancellation checks for time* transforms that only run in specific spaces.

Hide Transform Mode operator property (it shouldn't be modified after the operator is run), made default mode Translate, not the useless Dummy.

10 years agoRevert r34026, which in it turn reverted r33039. Removal breaks renderers that use...
Nathan Letwory [Sun, 27 Mar 2011 22:02:54 +0000 (22:02 +0000)]
Revert r34026, which in it turn reverted r33039. Removal breaks renderers that use COLLADA as their format through render() callback.

10 years ago[#24658] Switching to "maya" via interaction preset breaks when switching back
Martin Poirier [Sun, 27 Mar 2011 21:45:37 +0000 (21:45 +0000)]
[#24658] Switching to "maya" via interaction preset breaks when switching back
[#25045] User Preferences Input, not enough menu choices
[#26525] Saving the Maya preset and another key configs

Untangle keyconfig presets and interaction presets (maya keyconfig would set interaction setting, blender interaction would set keyconfig).

Preset menu on slash screen now displays a list of available keyconfigs (as before) but will also set the correspondant interaction presets, if it exists)

10 years agoProper traceback when addons fails AST parsing setp
Martin Poirier [Sun, 27 Mar 2011 20:52:50 +0000 (20:52 +0000)]
Proper traceback when addons fails AST parsing setp

10 years agoCOLLADA lamp blender profile: add the remainder of the lamp variables to export.
Nathan Letwory [Sun, 27 Mar 2011 17:57:14 +0000 (17:57 +0000)]
COLLADA lamp blender profile: add the remainder of the lamp variables to export.

10 years agosubsurf, derived mesh and other misc files: floats were being implicitly promoted...
Campbell Barton [Sun, 27 Mar 2011 17:22:04 +0000 (17:22 +0000)]
subsurf, derived mesh and other misc files: floats were being implicitly promoted to doubles, adjust to use floats.

10 years agoimbuf, mathutils & readfile: floats were being implicitly promoted to doubles, adjust...
Campbell Barton [Sun, 27 Mar 2011 17:12:59 +0000 (17:12 +0000)]
imbuf, mathutils & readfile: floats were being implicitly promoted to doubles, adjust to use floats.

10 years agoview3d / object drawing: floats were being implicitly promoted to doubles, adjust...
Campbell Barton [Sun, 27 Mar 2011 15:57:27 +0000 (15:57 +0000)]
view3d / object drawing: floats were being implicitly promoted to doubles, adjust to use floats.

10 years agomath lib and UV project: floats were being implicitly promoted to doubles, adjust...
Campbell Barton [Sun, 27 Mar 2011 15:54:20 +0000 (15:54 +0000)]
math lib and UV project: floats were being implicitly promoted to doubles, adjust to use floats.

10 years agoobject/paint/misc-files: floats were being implicitly promoted to doubles, adjust...
Campbell Barton [Sun, 27 Mar 2011 14:59:55 +0000 (14:59 +0000)]
object/paint/misc-files: floats were being implicitly promoted to doubles, adjust to use floats.
- also UV angle stretching was using radians->deg which wasn't needed.

10 years agointerface: floats were being implicitly promoted to doubles, adjust to use floats...
Campbell Barton [Sun, 27 Mar 2011 14:52:16 +0000 (14:52 +0000)]
interface: floats were being implicitly promoted to doubles, adjust to use floats (in most cases) otherwise cast to double.

10 years agoFix for [26631] relative blur decimal value from 2.49 is not correctly converted...
Lukas Toenne [Sun, 27 Mar 2011 13:49:56 +0000 (13:49 +0000)]
Fix for [26631] relative blur decimal value from 2.49 is not correctly converted to percentage value in 2.5
This will not work for file saved between the blur node patch and subversion 2, those will still have to be update manually.

10 years agomodifiers: floats were being implicitly promoted to doubles, adjust to use floats.
Campbell Barton [Sun, 27 Mar 2011 13:49:53 +0000 (13:49 +0000)]
modifiers: floats were being implicitly promoted to doubles, adjust to use floats.

10 years agoAdd blender light profile.
Nathan Letwory [Sun, 27 Mar 2011 09:46:20 +0000 (09:46 +0000)]
Add blender light profile.

10 years agooption not to restore the original frame when canceling the animation, use in demo...
Campbell Barton [Sun, 27 Mar 2011 08:31:10 +0000 (08:31 +0000)]
option not to restore the original frame when canceling the animation, use in demo mode.

10 years agoclear some c++ warnings.
Campbell Barton [Sun, 27 Mar 2011 07:56:29 +0000 (07:56 +0000)]
clear some c++ warnings.

10 years agofix [#26616] Line of code make Blender crash
Campbell Barton [Sun, 27 Mar 2011 06:56:37 +0000 (06:56 +0000)]
fix [#26616] Line of code make Blender crash

10 years agofix for 'View Docs' with inherited properties, eg: "", is inherited and...
Campbell Barton [Sun, 27 Mar 2011 06:15:55 +0000 (06:15 +0000)]
fix for 'View Docs' with inherited properties, eg: "", is inherited and needs to open the URL of "".

10 years agopep8 cleanup
Campbell Barton [Sun, 27 Mar 2011 05:23:14 +0000 (05:23 +0000)]
pep8 cleanup

10 years agofix (own bug) [#26628] "FCurve/Driver Version Fix" Incorrectly Clobbers Array Indexing
Campbell Barton [Sun, 27 Mar 2011 03:14:14 +0000 (03:14 +0000)]
fix (own bug) [#26628] "FCurve/Driver Version Fix" Incorrectly Clobbers Array Indexing
also escape strings properly now.

10 years agoSVN maintenance.
Guillermo S. Romero [Sat, 26 Mar 2011 23:55:54 +0000 (23:55 +0000)]
SVN maintenance.

10 years agoBugfixes due to recent RNA renaming:
Joshua Leung [Sat, 26 Mar 2011 23:42:51 +0000 (23:42 +0000)]
Bugfixes due to recent RNA renaming:

* Driver F-Curves were not getting fixed by the "FCurve/Driver Version
Fix" tool. This was causing problems such as shapekey drivers from
older (2.56 compatible rigs) failing to run. As well as renaming the
paths for these Driver F-Curves, the "disabled" flags also get cleared
from these drivers so that they can be run again

* "Revive Disabled F-Curves"  operator in Animation Editors can now be
used to revive disabled drivers too.

10 years agoOne more fix for recent normals re-calculation change
Sergey Sharybin [Sat, 26 Mar 2011 17:43:07 +0000 (17:43 +0000)]
One more fix for recent normals re-calculation change

10 years agofix for transform using the wrong RNA type
Campbell Barton [Sat, 26 Mar 2011 15:24:59 +0000 (15:24 +0000)]
fix for transform using the wrong RNA type

10 years agoFixed memory access in mesh_calc_normals(). Now it uses much less memory.
Sergey Sharybin [Sat, 26 Mar 2011 09:48:03 +0000 (09:48 +0000)]
Fixed memory access in mesh_calc_normals(). Now it uses much less memory.

10 years ago- fix for editfont using an enum func on boolean property.
Campbell Barton [Sat, 26 Mar 2011 09:36:45 +0000 (09:36 +0000)]
- fix for editfont using an enum func on boolean property.
- updated FBX export test hash.

10 years agoUpdate cmake & scons scripts to use new Collada includes for building with latest...
Damien Plisson [Sat, 26 Mar 2011 09:09:00 +0000 (09:09 +0000)]
Update cmake & scons scripts to use new Collada includes for building with latest blender collada updates

10 years agoFix for Mac addon install, unzipping could create __MACOSX folder which
Brecht Van Lommel [Sat, 26 Mar 2011 08:41:21 +0000 (08:41 +0000)]
Fix for Mac addon install, unzipping could create __MACOSX folder which
we don't need, just remove it if it gets created.

10 years agoFix #26582, #26586, #26613: recent normal calculation changes didn't take
Brecht Van Lommel [Sat, 26 Mar 2011 08:28:24 +0000 (08:28 +0000)]
Fix #26582, #26586, #26613: recent normal calculation changes didn't take
into account that some tools use normals for things other than display. Now
we properly initialize vertex normals at flat faces too.

Also fixed a normal refresh issue, and deduplicated CDDM/mesh normal
calculation code.

10 years agofix for blenderplayer crashing on exit.
Campbell Barton [Sat, 26 Mar 2011 08:13:42 +0000 (08:13 +0000)]
fix for blenderplayer crashing on exit.

the event consumer was being freed twice, once when going out of C++ scope, another when freeing the system.

10 years agoBugfix:
Joshua Leung [Sat, 26 Mar 2011 05:52:18 +0000 (05:52 +0000)]

Recent renaming of Key.keys to Key.key_blocks broke converter for old

Campbell Alert: However, more seriously, it has broken many current
rigs, especially those with heavy usage of (driven) Shape Keys

10 years agoprint guarded-alloc memory leaks on blenderplayer exit.
Campbell Barton [Sat, 26 Mar 2011 04:50:59 +0000 (04:50 +0000)]
print guarded-alloc memory leaks on blenderplayer exit.

10 years agooptparse module is deprecated, use new argparse module in background job template.
Campbell Barton [Sat, 26 Mar 2011 03:42:59 +0000 (03:42 +0000)]
optparse module is deprecated, use new argparse module in background job template.
correction to example in doc too.

10 years ago"Fill Deformed" option for curves isn't dependent from bevel object,
Sergey Sharybin [Fri, 25 Mar 2011 22:02:50 +0000 (22:02 +0000)]
"Fill Deformed" option for curves isn't dependent from bevel object,
so it shouldn't be grayed out even if bevel object is set.

10 years agoForgot to add to log of previous commit:
Ton Roosendaal [Fri, 25 Mar 2011 17:16:22 +0000 (17:16 +0000)]
Forgot to add to log of previous commit:

The purpose was to set a wait-cursor draw on 3d windows. I tried for
but it keeps failing... inside threads you can't do UI stuff. Needs
further thinking, probably something via jobs system.

10 years agoBugfix #26195
Ton Roosendaal [Fri, 25 Mar 2011 17:11:32 +0000 (17:11 +0000)]
Bugfix #26195

When rendering, during processing scene data, drawing in 3d window
is now locked. Can get extended to more areas in UI easily.

At least this solves all crashes with conflicting memory access in
render && 3d drawing. Deleting objects via operators or delete
modifiers isn't locked yet.

Also fixed: crash on quitting a renderwindow when it was rendering.

10 years agoMoved temporary drag operator link drawing from node tree to node space function...
Lukas Toenne [Fri, 25 Mar 2011 16:53:07 +0000 (16:53 +0000)]
Moved temporary drag operator link drawing from node tree to node space function. Otherwise these links are redrawn for each node group.
Changed selection flag used for the selected_nodes context property from SELECT to NODE_SELECT. These are just incidentally the same, but NODE_SELECT should be used for nodes.

10 years agoincorrect rna type for the BGE ui.
Campbell Barton [Fri, 25 Mar 2011 14:32:47 +0000 (14:32 +0000)]
incorrect rna type for the BGE ui.