11 years agoFix #23865: F8 reload scripts doesn't work with an addon enabled,
Brecht Van Lommel [Thu, 16 Sep 2010 18:50:33 +0000 (18:50 +0000)]
Fix #23865: F8 reload scripts doesn't work with an addon enabled,
broken with bugfix for #23001.

11 years agoFix #22603: Crash on launching external editor in texture paint [r29461] [WinXP 32bit]
Sergey Sharybin [Thu, 16 Sep 2010 15:54:48 +0000 (15:54 +0000)]
Fix #22603: Crash on launching external editor in texture paint [r29461] [WinXP 32bit]

Crash was caused by missed offscreen OpenGL buffer. Added checking around this stuff.
Also fixed crash of simple "Image from view operator".

Note: This commit fixes only crashing, you'll be still unable to use this tools.

11 years agorecent fixes for mingw + cmake broke msvc
Campbell Barton [Thu, 16 Sep 2010 07:26:06 +0000 (07:26 +0000)]
recent fixes for mingw + cmake broke msvc

11 years agobugfix [#23831] Removing an IK Constraint in pose mode still draws bone with IK highlight
Campbell Barton [Thu, 16 Sep 2010 07:14:48 +0000 (07:14 +0000)]
bugfix [#23831] Removing an IK Constraint in pose mode still draws bone with IK highlight
+ moved bone envalope scale into transform menu, pose menu is getting huge.

11 years agoPartial fix (Linux) [#21395] Command key for keyboard mapping not functional
Nathan Letwory [Thu, 16 Sep 2010 06:52:12 +0000 (06:52 +0000)]
Partial fix (Linux) [#21395] Command key for keyboard mapping not functional
Reported by Andy Braham

Handle XK_Super_L and XK_Super_R as the GHOST_kKeyCommand. Since Command key is
not discerned (yet) in left/right variants, read both and set accordingly.

This now completes fixes for [#21395]

11 years agoarmature selection when entering editmode wasnt working well (in 2.4x too)
Campbell Barton [Thu, 16 Sep 2010 06:28:11 +0000 (06:28 +0000)]
armature selection when entering editmode wasnt working well (in 2.4x too)
root bone selections were cleared if there was no connected parent. Now only set the root selection state if there is a connected parent.

11 years agobugfix [#23841] Bone envelope draws funky
Campbell Barton [Thu, 16 Sep 2010 06:04:47 +0000 (06:04 +0000)]
bugfix [#23841] Bone envelope draws funky

11 years agoMake sure rna_armature.c compiles. Use BLI_math.h that includes <math.h> and ensures...
Nathan Letwory [Thu, 16 Sep 2010 05:49:09 +0000 (05:49 +0000)]
Make sure rna_armature.c compiles. Use BLI_math.h that includes <math.h> and ensures it compiles on all platforms. (fix for r31956).

11 years ago- bone roll now in degrees not radians.
Campbell Barton [Thu, 16 Sep 2010 04:19:22 +0000 (04:19 +0000)]
- bone roll now in degrees not radians.
- rna buttons with units set now use the units base value for snapping.
- bone head/tail radius could be set negative.

matt: removed a check in ui_is_but_unit() which made angle buttons return false, what was this for?

11 years agoPartial fix [#21395] Command key for keyboard mapping not functional
Nathan Letwory [Wed, 15 Sep 2010 23:19:21 +0000 (23:19 +0000)]
Partial fix [#21395] Command key for keyboard mapping not functional
Reported by Andy Braham.

Handle VK_LWIN and VK_RWIN (The infamous Windows keys). Note, these are not separate, so handled as one command key.

11 years agoFix cmake/osx blenderplayer linking.
Brecht Van Lommel [Wed, 15 Sep 2010 19:03:52 +0000 (19:03 +0000)]
Fix cmake/osx blenderplayer linking.

11 years agopatch [#23758] Better handling of UTF chars in UNITS fields (lengths, angles, etc.)
Campbell Barton [Wed, 15 Sep 2010 17:37:00 +0000 (17:37 +0000)]
patch [#23758] Better handling of UTF chars in UNITS fields (lengths, angles, etc.)
from Lorenzo Tozzi (oni_niubbo) with minor edits.

--- from the tracker
The present situation is this: due to bug#22274, during editing, UTF chars are stripped from buttons with a unit associated
(length, angles, etc.).
Example: if the button displays '90°' and you click on it with LMB, the editing string will become '90'.

The problem arises if you use microns: '34µm' becomes '34' that blender interprets as 34 meters. So clicking on a button
and hitting enter won't confirm the previous value, but will change it (very badly also).

Of course nobody is using microns in blender, but the problem will arise when we will implement areas and option 'Separate
Units' will be enabled. The value '2m² 3cm²' will become '2m' during editing.

This patch solves the problem rewriting the string in a smarter way than just stripping the UTF chars: the unit is translated
from unit->name_short ('µm') to unit->name_alt ('um'). So clicking on '34µm' the editing string will become
--- end

note: rather then allowing empty strings in name_alt field I made it so if the unit system was the default one a NULL name_alt will just strip the string, since its the default its not needed.

11 years agobugfix [#23802] addons panel empty
Campbell Barton [Wed, 15 Sep 2010 16:42:10 +0000 (16:42 +0000)]
bugfix [#23802] addons panel empty
was using locale.getpreferredencoding() to read the file which depends on the system setup, better use 'UTF-8' always.

11 years agoignore BLI_bfile with cmake since its not used anywhere
Campbell Barton [Wed, 15 Sep 2010 16:23:04 +0000 (16:23 +0000)]
ignore BLI_bfile with cmake since its not used anywhere

11 years agoupdate for MingW/CMake
Campbell Barton [Wed, 15 Sep 2010 16:13:32 +0000 (16:13 +0000)]
update for MingW/CMake
- ignore MSVC warnings when FREE_WINDOWS is defined to quiet warnings.
- the CMake flags were not being set correctly making blender have weirdo colors (no -funsigned-char).

11 years agoDon't do weird PYTHONPATH juggling anymore. Debug build crash doesn't happen anymore...
Nathan Letwory [Wed, 15 Sep 2010 15:29:31 +0000 (15:29 +0000)]
Don't do weird PYTHONPATH juggling anymore. Debug build crash doesn't happen anymore since proper libs have been committed.

Hopefully this helps in cases where people have PYTHONPATH set on their system to an incompatible Python version, which can result in crashes.

11 years agoFix SCons for [#23833]. Ensure that empty dirs will exist too.
Nathan Letwory [Wed, 15 Sep 2010 14:50:14 +0000 (14:50 +0000)]
Fix SCons for [#23833]. Ensure that empty dirs will exist too.

11 years agowin32 mingw works again with cmake
Campbell Barton [Wed, 15 Sep 2010 14:36:32 +0000 (14:36 +0000)]
win32 mingw works again with cmake

11 years agobugfix [#23833] Console Errors (Keymaps)
Campbell Barton [Wed, 15 Sep 2010 13:41:38 +0000 (13:41 +0000)]
bugfix [#23833] Console Errors (Keymaps)
dont allow non-existing preset paths to be passed to the preset menu.

11 years agoadd missing notifiers for bone circle/border/lasso select.
Campbell Barton [Wed, 15 Sep 2010 13:22:36 +0000 (13:22 +0000)]
add missing notifiers for bone circle/border/lasso select.

11 years agobugfix [#23830] Border selecting bones in editmode bug
Campbell Barton [Wed, 15 Sep 2010 13:07:36 +0000 (13:07 +0000)]
bugfix [#23830] Border selecting bones in editmode bug
was missing a call to glLoadName(-1); so drawing commands after the bone were taken into account with the selection.

made some other minor changes that dont change functionality.

11 years agoApply patch [#23779] Small cleanup with gl_roundbox*
Nathan Letwory [Wed, 15 Sep 2010 12:18:50 +0000 (12:18 +0000)]
Apply patch [#23779] Small cleanup with gl_roundbox*
By Luca Bonavita (mindrones)

The patch renames and moves gl_round_box, gl_round_box_shade and gl_round_box_vertical_shade to UI_interface.h, so the extern usages are not needed anymore.

11 years agoApply patch [#23755] Sequencer: small code cleanup using existing color math functions
Nathan Letwory [Wed, 15 Sep 2010 11:58:19 +0000 (11:58 +0000)]
Apply patch [#23755] Sequencer: small code cleanup using existing color math functions
By Luca Bonavita (mindrones)

From detailed description: This patch doesnt change functionality, but uses the existing color math functions from math_color.c into

11 years agoApply patch [#23809] Blender.exe -W support
Nathan Letwory [Wed, 15 Sep 2010 11:48:59 +0000 (11:48 +0000)]
Apply patch [#23809] Blender.exe -W support
by Dalai Felinto/Nathan Letwory

This basically implements -W support for Blender.

11 years agofilling is used for 3D curves but not for filling, sigh.
Campbell Barton [Wed, 15 Sep 2010 08:38:29 +0000 (08:38 +0000)]
filling is used for 3D curves but not for filling, sigh.

11 years agoin response to [#23812] bevel object, but no caps.
Campbell Barton [Wed, 15 Sep 2010 08:34:41 +0000 (08:34 +0000)]
in response to [#23812] bevel object, but no caps.
tweak the UI so fill options are only available with 2D curves and greyed out when bevel object is used.

11 years ago- rna properties for bones, select_head, select_tail
Campbell Barton [Wed, 15 Sep 2010 08:03:33 +0000 (08:03 +0000)]
- rna properties for bones, select_head, select_tail
- fix for minor inconsistency in armature selection, entering editmode and selecting a bone would move the manipulator because the selected bones, childs root wasnt selected on entering editmode.
- use copy_v3_v3 rather then VECCOPY in editarmature.c

11 years agofix for error in last commit.
Campbell Barton [Wed, 15 Sep 2010 08:00:19 +0000 (08:00 +0000)]
fix for error in last commit.

11 years agoBGE Dome: fix for "objects parented to the camera will be rendered multiple times...
Dalai Felinto [Wed, 15 Sep 2010 07:05:55 +0000 (07:05 +0000)]
BGE Dome: fix for "objects parented to the camera will be rendered multiple times in Dome mode"

The funny thing is: I only spotted this bug in March of this year. Almost one year after the original release. I think I don't parent objects to the camera often.

In terms of code I think that I can even think in a more elegant solution. I don't really need to rotate the camera, but simply to calculate its Modelview Matrix.
m_rasterizer->SetViewMatrix(viewmat, cam->NodeGetWorldOrientation(), cam->NodeGetWorldPosition(), 1.0);
The reason why I originally was rotating the camera was to make sure the frustum calculation was using the right camera frustum. For the frustum it takes the camera modelviewmatrix so the rotation really shouldn't be necessary. Leaving as it's for the time being.

* Note: the bug was never officially reported

11 years agobugfix [#23405] PNG Images bigger then 2gig wont load with blender.
Campbell Barton [Wed, 15 Sep 2010 06:43:36 +0000 (06:43 +0000)]
bugfix [#23405] PNG Images bigger then 2gig wont load with blender.
all image formats should be able to load files bigger then 2gig (when its supported)

11 years agoremove inventor and vrml1 support, we're better of having these legacy formats as...
Campbell Barton [Wed, 15 Sep 2010 05:57:48 +0000 (05:57 +0000)]
remove inventor and vrml1 support, we're better of having these legacy formats as addons.

11 years agoLogic UI: reset the value of a key when clicking outside the input button
Dalai Felinto [Wed, 15 Sep 2010 04:42:01 +0000 (04:42 +0000)]
Logic UI: reset the value of a key when clicking outside the input button
Otherwise you had no way to set it to none. This doesn't really matter, but it's nice "userwise" to be able to clear the pressed key.

11 years agoTwo small bugfixes:
Joshua Leung [Wed, 15 Sep 2010 04:15:42 +0000 (04:15 +0000)]
Two small bugfixes:
- A property used in an 'active' poll for UI code in the NLA Editor was missed during the RNA renaming madness, leading to error prints in the console

- For matrix blending code, 'fsize' arrays were being declared wrong size (4 elements long instead of 3).

11 years agoAllow start frames < 1 on image sequences.
Daniel Salazar [Wed, 15 Sep 2010 03:45:33 +0000 (03:45 +0000)]
Allow start frames < 1 on image sequences.

11 years agobvh import was broken for non euler-native rotations
Campbell Barton [Wed, 15 Sep 2010 03:33:49 +0000 (03:33 +0000)]
bvh import was broken for non euler-native rotations

11 years agokeyconfig updates/changes
Campbell Barton [Tue, 14 Sep 2010 16:45:24 +0000 (16:45 +0000)]
keyconfig updates/changes
- use preset subclass with funcs for updating the keyconfig
- keyconfig filenames are used for the UI names as with presets (so separation anymore)
- keyconfig's are stored in the preset dir (scripts/cfg dir removed)
- only the active keyconfig script is loaded
- some bugfixes for saving keymaps
- user interactions no longer saves keyconfigs too, I think this needs to be re-worked.

developer note...
multiple keyconfigs at once are not really needed now that they are stored & accessed directly in python.
for now I left it alone but we could consider to remove this capability in the future.

11 years agofix for own bug for font buffer drawing (only effected the bottom line of the stamp)
Campbell Barton [Tue, 14 Sep 2010 12:35:02 +0000 (12:35 +0000)]
fix for own bug for font buffer drawing (only effected the bottom line of the stamp)

11 years agoFix for [#23794] Particle System + FS Motion Blur corrupts some frames and possibly...
Janne Karhu [Tue, 14 Sep 2010 12:17:09 +0000 (12:17 +0000)]
Fix for [#23794] Particle System + FS Motion Blur corrupts some frames and possibly cache

11 years agoParticle edit brush strengths were loaded wrong for old files.
Janne Karhu [Tue, 14 Sep 2010 09:32:43 +0000 (09:32 +0000)]
Particle edit brush strengths were loaded wrong for old files.

11 years agoblenderplayer fix for "offset" problem when in fullscreen mode (worked together with...
Dalai Felinto [Tue, 14 Sep 2010 08:19:42 +0000 (08:19 +0000)]
blenderplayer fix for "offset" problem when in fullscreen mode (worked together with Nathan Letwory - jesterKing)

The FullScreen state was never set. Therefore the window boundary was returning the wrong dimensions (it was assuming that it was not fullscreen).

* Note: blender.exe -W has a similar problem. We are working on that ...

Tested in Windows only. If someone can test in Linux and OSX please let me know if it's good there as well. To test it: ./blenderplayer -f myfile.blend

11 years agobutton to remove presets.
Campbell Barton [Tue, 14 Sep 2010 04:58:25 +0000 (04:58 +0000)]
button to remove presets.
note: this is an option to the add preset operator which is a bit odd but easiest since these classes have all the info needed for removal as well.

11 years agoFix for a particles memory leak:
Janne Karhu [Tue, 14 Sep 2010 01:47:01 +0000 (01:47 +0000)]
Fix for a particles memory leak:
* Hair wasn't freed properly when changing particles from hair to normal particles.

11 years agoFix for [#20350] particles are offset from emittor in dupli-objects
Janne Karhu [Tue, 14 Sep 2010 01:43:46 +0000 (01:43 +0000)]
Fix for [#20350] particles are offset from emittor in dupli-objects

11 years ago"flip -> pen_flip" missing rename on particle edit mode
Dalai Felinto [Tue, 14 Sep 2010 01:11:54 +0000 (01:11 +0000)]
"flip -> pen_flip" missing rename on particle edit mode
(it was raising the error RNA_boolean_set OperatorStrokeElement.flip not found ) [Thanks Mike for spotting that :p]

11 years agorevert 31916, while having the image name and the material name mixed, this is intent...
Campbell Barton [Tue, 14 Sep 2010 01:10:20 +0000 (01:10 +0000)]
revert 31916, while having the image name and the material name mixed, this is intentional else texface export breaks.
ideally this would only happen in cases where there are more then 1 image so we could avoid ugly names in common cases.
  svn merge -r31916:31915  release/scripts/op/io_scene_obj/

11 years agoFix [#23761] OBJ exported materialname wrong
Nathan Letwory [Tue, 14 Sep 2010 00:45:37 +0000 (00:45 +0000)]
Fix [#23761] OBJ exported materialname wrong
Reported by Reiner Prokein.

Just use the material name instead of concatenating with any image names to it.

11 years agoFix one more case of z_transparency
Nathan Letwory [Tue, 14 Sep 2010 00:30:45 +0000 (00:30 +0000)]
Fix one more case of z_transparency

11 years agoApply patch [#23782] Fix typo in netrender UI
Nathan Letwory [Mon, 13 Sep 2010 22:57:35 +0000 (22:57 +0000)]
Apply patch [#23782] Fix typo in netrender UI
Submitted by Imran Syed (freakabcd)

11 years agofix for sphinx doc generation
Campbell Barton [Mon, 13 Sep 2010 13:29:54 +0000 (13:29 +0000)]
fix for sphinx doc generation

11 years agoFix [#22612] FFMPEG writes incorrect Xvid FourCC code
Nathan Letwory [Mon, 13 Sep 2010 12:56:39 +0000 (12:56 +0000)]
Fix [#22612] FFMPEG writes incorrect Xvid FourCC code
Reported by Karl Nyman

When XVID is chosen for FFMPEG make sure that XVID is written for FourCC code.

11 years agoFix for [#23729] Smoke / Edit Mode bug
Janne Karhu [Mon, 13 Sep 2010 11:14:12 +0000 (11:14 +0000)]
Fix for [#23729] Smoke / Edit Mode bug

11 years agoblenderplayer parsing code (better) fix
Dalai Felinto [Mon, 13 Sep 2010 08:30:56 +0000 (08:30 +0000)]
blenderplayer parsing code (better) fix
After last commit I realized that we have a different behavior when running blenderplayer or a runtime. Reason being is that when running blenderplayer the filename is mandatory. While in runtime mode it has no use for it (it can still be passed, but it makes no difference).

I also updated the -h (help) message to be multiplataform and to pass the filename argument only when in blenderplayer mode.

If someone wants to have fun it would be nice to port the blender new parsing code to the gameplayer.
* note: how come "noaudio" is used in the examples but it's not in the options list? *ouch*
I'm leaving as it's in case noaudio get implemented ...

11 years agoavoid re-creating and assigning addon UI properties for every redraw
Campbell Barton [Mon, 13 Sep 2010 08:16:31 +0000 (08:16 +0000)]
avoid re-creating and assigning addon UI properties for every redraw

11 years agopatch [#23221] Merge bone : Within chains : infinite loop
Campbell Barton [Mon, 13 Sep 2010 07:30:11 +0000 (07:30 +0000)]
patch [#23221] Merge bone : Within chains : infinite loop
from Yvon Tanguy (vono)

11 years agobugfix [#23528] ED_pose_channel_in_IK_chain() doesn't take length of IK chain into...
Campbell Barton [Mon, 13 Sep 2010 06:57:03 +0000 (06:57 +0000)]
bugfix [#23528] ED_pose_channel_in_IK_chain() doesn't take length of IK chain into account

11 years agobugfix [#23068] Image editor: Update Automatically not updating the compositor.
Campbell Barton [Mon, 13 Sep 2010 06:08:26 +0000 (06:08 +0000)]
bugfix [#23068] Image editor: Update Automatically not updating the compositor.
       [#23637] Replacing an image used in the compositor crashes
       [#23343] changes in images doesn't update compositor image nodes

11 years agobugfix [#23001] Addons do not unregister properly in Blender 2.5.3
Campbell Barton [Mon, 13 Sep 2010 04:52:56 +0000 (04:52 +0000)]
bugfix [#23001] Addons do not unregister properly in Blender 2.5.3

Now reloading the user defaults also unloads/loads addons, resetting the state to the one set in the user preferences.

moved addon functions into bpy.utils
- bpy.utils.addon_enable(name, default_set=True)
- bpy.utils.addon_disable(name, default_set=True)
- bpy.utils.addon_reset_all(name, default_set=True)

the user preference operators now just wrap these.

11 years agoblenderplayer commandline argument fixes (for -f and -w)
Dalai Felinto [Mon, 13 Sep 2010 04:52:20 +0000 (04:52 +0000)]
blenderplayer commandline argument fixes (for -f and -w)
argc always include the filename, therefore all the optional parameters should check for < argc instead of <=argc.

E.g. That was causing "blenderplayer -f 800 600 myfile.blend" to play in a wrong  Bpp (since it was trying to parse the filename to fullScreenBpp).

Bug introduced on rev. 16448 (in 2.49) and merged to 2.5 in rev. 19323

11 years agobugfix [#23778] obj importing forgets to enable transparent into material
Campbell Barton [Mon, 13 Sep 2010 02:35:59 +0000 (02:35 +0000)]
bugfix [#23778] obj importing forgets to enable transparent into material

11 years agoAnimation Editors: Added menu entry for deleting selected channels, as requested...
Joshua Leung [Mon, 13 Sep 2010 00:53:47 +0000 (00:53 +0000)]
Animation Editors: Added menu entry for deleting selected channels, as requested by animator working with Matt

11 years agoBugfix: Timeline did not refresh when changing selecting a bone
Joshua Leung [Mon, 13 Sep 2010 00:47:12 +0000 (00:47 +0000)]
Bugfix: Timeline did not refresh when changing selecting a bone

This happened/was most noticeable when clicking on a bone of an armature in posemode but not active (i.e. some object other than the armature is active when trying to select the bone).

11 years agoFix import of material with z transp enabled.
Nathan Letwory [Sun, 12 Sep 2010 20:24:15 +0000 (20:24 +0000)]
Fix import of material with z transp enabled.

Reported by Heikki Lehikoinen in

11 years agoPartial fix of bug #23543 in COLLADA exporter:
Arystanbek Dyussenov [Sun, 12 Sep 2010 20:19:15 +0000 (20:19 +0000)]
Partial fix of bug #23543 in COLLADA exporter:
* multiply the diffuse and specular colors by their respective intensities
* only output <transparency> if MA_TRANSP flag is on
* only output <reflective> and <reflectivity> if MA_RAYMIRROR flag is on

11 years agospec files for building arch linux packages (pacman)
Campbell Barton [Sun, 12 Sep 2010 16:00:12 +0000 (16:00 +0000)]
spec files for building arch linux packages (pacman)

11 years agosilance compiler warning.
Campbell Barton [Sun, 12 Sep 2010 14:46:41 +0000 (14:46 +0000)]
silance compiler warning.

11 years agobugfix for [#23737] reported by Mariusz Maximus
Martin Poirier [Sun, 12 Sep 2010 14:04:54 +0000 (14:04 +0000)]
bugfix for [#23737] reported by Mariusz Maximus

netrender client's functions to get slaves and jobs info didn't work anymore (was reading response content twice).

At the same time, I switched to json for the dump and load, instead of using eval and repr (for obvious security reasons). I should have done this much earlier.

11 years agooption to disable ITASC IK solver, (will be enabled by default ofcourse)
Campbell Barton [Sun, 12 Sep 2010 12:27:12 +0000 (12:27 +0000)]
option to disable ITASC IK solver, (will be enabled by default ofcourse)
- option only available to cmake, scons and make have this enabled always.
- without this clang/llvm can compile blender
- this was the second biggest internal lib, 192mb -> 172mb for all blenders libs (with debug flags), so gives some speedup to linking.

11 years agouse relative paths for ghost/cmake
Campbell Barton [Sun, 12 Sep 2010 12:16:50 +0000 (12:16 +0000)]
use relative paths for ghost/cmake

11 years agobuilding without python was broken
Campbell Barton [Sun, 12 Sep 2010 12:09:31 +0000 (12:09 +0000)]
building without python was broken

11 years agoFix [#23770] io_anim_bvh reloads the wrong module
Nathan Letwory [Sat, 11 Sep 2010 23:13:47 +0000 (23:13 +0000)]
Fix [#23770] io_anim_bvh reloads the wrong module
Spotted and fixed provided by Tim Baker

11 years agoBGE module reshuffling - VideoTexture -> bge.texture
Dalai Felinto [Sat, 11 Sep 2010 19:38:11 +0000 (19:38 +0000)]
BGE module reshuffling - VideoTexture -> bge.texture
this was the one module left to be renamed.

We didn't get to any conclusion in the mailing list, but Campbell suggested texture and I think its a good name. We can change any time before next Beta, but for now I think it's handy to have something.

The original proposal is from May:

11 years agoRemoved a "properties" too much. :/
Thomas Dinges [Sat, 11 Sep 2010 15:33:30 +0000 (15:33 +0000)]
Removed a "properties" too much. :/

11 years agopyrna: replace method for operators forwarding getattr/setattr access from self....
Campbell Barton [Sat, 11 Sep 2010 15:13:22 +0000 (15:13 +0000)]
pyrna: replace method for operators forwarding getattr/setattr access from self.* to*

11 years ago- added PNG image export option to UV layout (was only SVG and EPS which was annotyin...
Campbell Barton [Sat, 11 Sep 2010 10:31:50 +0000 (10:31 +0000)]
- added PNG image export option to UV layout (was only SVG and EPS which was annotying for some users)
- support for non utf8 paths when exporting UV layout.

11 years agonew materials and cameras had incorrect usercounts when added from python
Campbell Barton [Sat, 11 Sep 2010 06:27:38 +0000 (06:27 +0000)]
new materials and cameras had incorrect usercounts when added from python

11 years agoincorrect docstring
Campbell Barton [Sat, 11 Sep 2010 06:15:37 +0000 (06:15 +0000)]
incorrect docstring

11 years ago- camera max zoom limit was inconsistent
Campbell Barton [Sat, 11 Sep 2010 04:39:00 +0000 (04:39 +0000)]
- camera max zoom limit was inconsistent
- camera pan now follows the mouse

11 years ago- py api splash URL was old, use blender version (menu was ok in the menu)
Campbell Barton [Sat, 11 Sep 2010 04:23:45 +0000 (04:23 +0000)]
- py api splash URL was old, use blender version (menu was ok in the menu)
- netrender reloading fix

11 years agoFixed the splash screen: previous had incorrect colour, typography, no transparent...
Matt Ebb [Sat, 11 Sep 2010 00:19:38 +0000 (00:19 +0000)]
Fixed the splash screen: previous had incorrect colour, typography, no transparent header.

11 years agoFix for own stupid bug the other day, messed up the gradients in selected/deselected...
Matt Ebb [Sat, 11 Sep 2010 00:08:07 +0000 (00:08 +0000)]
Fix for own stupid bug the other day, messed up the gradients in selected/deselected UI elements.

Didn't know beta was going to be today, really hope this makes it in!

11 years agoPatch [#23759] more replace --> for bf-extensions/trunk...
Thomas Dinges [Fri, 10 Sep 2010 23:39:43 +0000 (23:39 +0000)]
Patch [#23759] more replace --> for bf-extensions/trunk/py/scripts
by Filiciss Muhgue (filiciss). Thanks a lot!

Part 1: Trunk, second part of patch will be committed to Extensions.

11 years agoPart 4 of 2.54 beta commits (last)
Ton Roosendaal [Fri, 10 Sep 2010 16:39:08 +0000 (16:39 +0000)]
Part 4 of 2.54 beta commits (last)

11 years agoPart 3 of 2.54 commits (1 more!)
Ton Roosendaal [Fri, 10 Sep 2010 16:34:03 +0000 (16:34 +0000)]
Part 3 of 2.54 commits (1 more!)

11 years agoPart 1 of 2.54 beta build commit
Ton Roosendaal [Fri, 10 Sep 2010 16:29:19 +0000 (16:29 +0000)]
Part 1 of 2.54 beta build commit

11 years agofix for error updating rigify UI classes
Campbell Barton [Fri, 10 Sep 2010 16:07:18 +0000 (16:07 +0000)]
fix for error updating rigify UI classes

11 years agoBug #23715: patch by Jan Diederich to avoid having duplicate IDs after they are trans...
Arystanbek Dyussenov [Fri, 10 Sep 2010 15:24:10 +0000 (15:24 +0000)]
Bug #23715: patch by Jan Diederich to avoid having duplicate IDs after they are translated.
For example, object ID names "1a", "2a", "3a", will be exported as "_a", "_a2", "_a3". Thanks Jan!

11 years agorewrote python IDProperty metaclass in C, this was a quick hack to get it working.
Campbell Barton [Fri, 10 Sep 2010 14:54:50 +0000 (14:54 +0000)]
rewrote python IDProperty metaclass in C, this was a quick hack to get it working.

The reason this didnt work is all sibclasses of pythons type() or PyType_Type in C, have to have their size set to sizeof(PyHeapTypeObject) rather then sizeof(PyTypeObject) as you might expect.
This is strange since its not a heap-class (defined in pythons runtime), but a static C type, so Im not sure about this, and cant find any documentation but it seems to work ok.

11 years agoFix for [#23090] Blender 2.5 : move object to new layer crashes Blender
Janne Karhu [Fri, 10 Sep 2010 08:36:14 +0000 (08:36 +0000)]
Fix for [#23090] Blender 2.5 : move object to new layer crashes Blender

11 years agoFix #23742: a NURBS surface created with two joined curves crashes Blender on rendering
Sergey Sharybin [Fri, 10 Sep 2010 06:05:18 +0000 (06:05 +0000)]
Fix #23742: a NURBS surface created with two joined curves crashes Blender on rendering

Nurb's material number used to be clamped to [0;-1] for case object hasn't got
materials. Forced to keep material number on zero if object hasn't got any materials.

11 years agoremove redundant buffer character positioning code & remove attr keyword argument...
Campbell Barton [Fri, 10 Sep 2010 04:04:48 +0000 (04:04 +0000)]
remove redundant buffer character positioning code & remove attr keyword argument from property definitions.

11 years agobugfix [#23607] Render Stamp, incorrect apostrophe Y position.
Campbell Barton [Fri, 10 Sep 2010 03:56:11 +0000 (03:56 +0000)]
bugfix [#23607] Render Stamp, incorrect apostrophe Y position.

11 years agopatch [#23749] IntVectorProperty missing step [patch]
Campbell Barton [Fri, 10 Sep 2010 02:46:29 +0000 (02:46 +0000)]
patch [#23749] IntVectorProperty missing step [patch]
from Dan Eicher (dna), also edited some comments.

11 years agoFix bug caused by someone else's error.
Martin Poirier [Thu, 9 Sep 2010 22:39:27 +0000 (22:39 +0000)]
Fix bug caused by someone else's error.

11 years agoreplace -->
Campbell Barton [Thu, 9 Sep 2010 18:03:57 +0000 (18:03 +0000)]
replace -->

11 years ago- bugfix, operators were getting their properties registered twice.
Campbell Barton [Thu, 9 Sep 2010 17:41:36 +0000 (17:41 +0000)]
- bugfix, operators were getting their properties registered twice.
- operator properties are now converted into python property() class members which bypass the operator 'properties' member.
 ... can now be written as ...
- fix for error reloading rigify

11 years agodefinition/syntax edits for operators and rna (no functional changes)
Campbell Barton [Thu, 9 Sep 2010 17:36:54 +0000 (17:36 +0000)]
definition/syntax edits for operators and rna (no functional changes)

11 years agofix for addons UI with recent rna changes,
Campbell Barton [Thu, 9 Sep 2010 14:22:03 +0000 (14:22 +0000)]
fix for addons UI with recent rna changes,
also moved temp properties from the scene into the window manager since they are not saved there.

11 years agofix crash for calling setattr with a non-string attribute and warning.
Campbell Barton [Thu, 9 Sep 2010 13:58:38 +0000 (13:58 +0000)]
fix crash for calling setattr with a non-string attribute and warning.

11 years agoPartial fix for [#21948] Full sample motion blur with cloth - cloth and collision...
Janne Karhu [Thu, 9 Sep 2010 11:07:07 +0000 (11:07 +0000)]
Partial fix for [#21948] Full sample motion blur with cloth - cloth and collision object render issue.
* Now cloth reads cache using subframes when rendering.
* Cloth cache also was reset every time on the start frame which kind of defeats the point of the caching.

11 years agoBug #23715 in COLLADA exporter: prepend an '_' to the ID if it starts with an illegal...
Arystanbek Dyussenov [Thu, 9 Sep 2010 11:01:30 +0000 (11:01 +0000)]
Bug #23715 in COLLADA exporter: prepend an '_' to the ID if it starts with an illegal character.
Pointed out by Tom Haines. Thanks!