10 years agoBug fix:
Ton Roosendaal [Thu, 18 Nov 2010 08:44:50 +0000 (08:44 +0000)]
Bug fix:

When 2nd window open, the code that tried to find an Image editor in the
the active window failed.

10 years agoBugfix #24781: Can't use rest position / pose position on linked-group proxy armatures
Joshua Leung [Thu, 18 Nov 2010 05:45:21 +0000 (05:45 +0000)]
Bugfix #24781: Can't use rest position / pose position on linked-group proxy armatures

10 years agobugfix [#24783] Strange shadows on beveled curve; goes away with modifier
Campbell Barton [Thu, 18 Nov 2010 05:35:04 +0000 (05:35 +0000)]
bugfix [#24783] Strange shadows on beveled curve; goes away with modifier
this bug wasnt in 2.4x, suspect this happened when normal flipping was removed.

10 years agobugfix [#24777] Scale both markers and keyframes at the same time?
Campbell Barton [Thu, 18 Nov 2010 05:05:06 +0000 (05:05 +0000)]
bugfix [#24777] Scale both markers and keyframes at the same time?
sync marker option worked for translate and extend but not for scale in the dope sheet.

10 years agofix [#24780] Metaballs are not drawn correctly in new scenes
Campbell Barton [Thu, 18 Nov 2010 04:26:50 +0000 (04:26 +0000)]
fix [#24780] Metaballs are not drawn correctly in new scenes

this is a can of worms, at the moment blender depends on broken behavior for metaballs:
 find_basis_mball() can return a metaball object that fails a is_basis_mball() check which makes this logic very confusing (added note about this in mball.c).

Metaballs needs a refactor however at least make drawing fail consistently,
For wire draw is_basis_mball() wasn't being checked, for solid drawing it was (hence the strange wire frame).

For now the motherball needs to exist in the main scene else it wont work.

10 years ago- many settings in a new scene didn't match the startup.blend defaults, copied into...
Campbell Barton [Thu, 18 Nov 2010 03:03:17 +0000 (03:03 +0000)]
- many settings in a new scene didn't match the startup.blend defaults, copied into scene.c.
- view3d metaball panel wasn't updated for rna name change 'location' -> 'co'

10 years agostore the view align setting even if its disabled & don't edit the view quat when...
Campbell Barton [Thu, 18 Nov 2010 00:26:00 +0000 (00:26 +0000)]
store the view align setting even if its disabled & don't edit the view quat when getting a euler from it.

10 years agoextensions_framework: lots of docs and code formatting to be more pep8-like
Doug Hammond [Wed, 17 Nov 2010 21:28:22 +0000 (21:28 +0000)]
extensions_framework: lots of docs and code formatting to be more pep8-like

10 years agoBugfix, irc report by lmg
Ton Roosendaal [Wed, 17 Nov 2010 18:05:33 +0000 (18:05 +0000)]
Bugfix, irc report by lmg

Operator 'add object' didn't show checkbox for "align to view" if such was
set in user preferences.

10 years agobugfix [#24690] Scene.frame_set() breaks pose restore
Campbell Barton [Wed, 17 Nov 2010 17:38:56 +0000 (17:38 +0000)]
bugfix [#24690] Scene.frame_set() breaks pose restore
scene.frame_set() was sending out a frame change notifier which would update the scene loosing any un-keyed changes after a script ran.
for now use a window redraw notifier.

10 years agoBugfix #24767
Ton Roosendaal [Wed, 17 Nov 2010 16:25:30 +0000 (16:25 +0000)]
Bugfix #24767

Operator redo in 3D window now moves context to the main region,
makes knife cut work (and probably others)

Todo: this callback should be shared with other redo panels. On the
todo list.

10 years agobugfix [#24685] Changing mode bypasses undo suppression
Campbell Barton [Wed, 17 Nov 2010 15:16:49 +0000 (15:16 +0000)]
bugfix [#24685] Changing mode bypasses undo suppression
Editmode undo operator was using the operator OPTYPE_UNDO flag as well as its own EM_DO_UNDO option.

This gave 2 problems.
- python suppressed undos would fail (as in the report).
- Undo push was called twice on exiting editmode for no reason.

Use the operator undo in this case.

10 years agofixes from r33127
Campbell Barton [Wed, 17 Nov 2010 14:36:19 +0000 (14:36 +0000)]
fixes from r33127

10 years agofix [#24762] Bezier Point Radius Cannot be Set When Curve is Created
Campbell Barton [Wed, 17 Nov 2010 12:59:59 +0000 (12:59 +0000)]
fix [#24762] Bezier Point Radius Cannot be Set When Curve is Created
this could be set in 2.4x, no reason to be readonly.

10 years agobugfix [#24766] Crasher on inserting keyframe on Bezier points [33126]
Campbell Barton [Wed, 17 Nov 2010 12:52:56 +0000 (12:52 +0000)]
bugfix [#24766] Crasher on inserting keyframe on Bezier points [33126]

10 years agobugfix [#24671] Operators called from Python Leak Memory
Campbell Barton [Wed, 17 Nov 2010 12:32:39 +0000 (12:32 +0000)]
bugfix [#24671] Operators called from Python Leak Memory
This problem is caused by returning Modal from a non-modal operator.

10 years agoBugfix for previous commit.
Joshua Leung [Wed, 17 Nov 2010 12:16:34 +0000 (12:16 +0000)]
Bugfix for previous commit.

Tweaked keymap for Graph Editor Ctrl-LMB so that the popup menu for displaying reports won't get dismissed immediately. Changing keymap here from KM_PRESS to KM_CLICK

10 years agoKeyframing Operators: Improved Error Messages
Joshua Leung [Wed, 17 Nov 2010 12:02:36 +0000 (12:02 +0000)]
Keyframing Operators: Improved Error Messages

* Keyframing operators now use the reports system for displaying all its error messages.
- The benefit of this is that users no longer need to check the console for error messages if keyframing fails.
- Unfortunately, reports are not currently viewable in any space/view in Blender, so...

* Added a temporary operator (UI_OT_reports_to_textblock), which can be accessed in the UI from the button which appears in place of the icon when more than one report exists. This dumps the current list of reports to a textblock "Recent Reports", from which they can be viewed.

This isn't really nice, but at least we now have a way to view these again, which makes debugging some things a pain.

* Bugfix #24606 - when trying to add keyframes to F-Curves with F-Modifiers already which alter the curve significantly enough that the keyframes will have no effect, there are now warnings which aim to alleviate any confusion.

10 years agoshould fix building with collada.
Campbell Barton [Wed, 17 Nov 2010 11:09:07 +0000 (11:09 +0000)]
should fix building with collada.

10 years agouse 'const char *' by default with RNA functions except when the value is flagged...
Campbell Barton [Wed, 17 Nov 2010 09:45:45 +0000 (09:45 +0000)]
use 'const char *' by default with RNA functions except when the value is flagged as PROP_THICK_WRAP.
Also use const char in many other parts of blenders code.

Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.

10 years ago- move cmake file for python.
Campbell Barton [Wed, 17 Nov 2010 07:22:20 +0000 (07:22 +0000)]
- move cmake file for python.
- move bpy_array.c to bpy_rna_array.c
- minor syntax changes

10 years agocleanup the operator template and rename to operator_export
Campbell Barton [Wed, 17 Nov 2010 07:00:14 +0000 (07:00 +0000)]
cleanup the operator template and rename to operator_export

10 years agoFix #22645: Texture paint: soften tool does draw brushes
Sergey Sharybin [Wed, 17 Nov 2010 06:30:06 +0000 (06:30 +0000)]
Fix #22645: Texture paint: soften tool does draw brushes

Disable projection painting for soften tools.

Also it looks like smear tools support projection in the code, so
enabled project paint menu for such tools

10 years agoAdding monitoring for (approximate) VRAM used by textures. The information is current...
Mitchell Stokes [Wed, 17 Nov 2010 05:28:25 +0000 (05:28 +0000)]
Adding monitoring for (approximate) VRAM used by textures. The information is currently only used in the profiling data of the BGE.

Here is a image of it in action:

What it monitors:
  * VRAM used by textures created via bf_gpu and BL_Textures

What it does not monitor:
  * VRAM used by the Blender ui
  * VRAM used by 2d filters
  * VRAM allocated by the user via KX_Scene.pre_draw and KX_Scene.pre_draw

10 years agowriting single images from a render (own commit r33104), wasn't checking if the rende...
Campbell Barton [Wed, 17 Nov 2010 04:02:19 +0000 (04:02 +0000)]
writing single images from a render (own commit r33104), wasn't checking if the render was cancelled which would crash when writing the image.

also remove paranoid checks for writing TAGA, Other formats - BMP, JPEG, Iris don't do this.

10 years agobugfix [#24672] Bone.evaluate_envelope() is misleading
Campbell Barton [Wed, 17 Nov 2010 03:26:50 +0000 (03:26 +0000)]
bugfix [#24672] Bone.evaluate_envelope() is misleading
fix from Dan Eicher

10 years agobugfix [#24761] minor bug - Modifiers don't "catches" Vertex Group renaming automatically
Campbell Barton [Wed, 17 Nov 2010 03:21:50 +0000 (03:21 +0000)]
bugfix [#24761] minor bug - Modifiers don't "catches" Vertex Group renaming automatically

10 years agopatch [#24760] Bezier handles update
Campbell Barton [Wed, 17 Nov 2010 03:15:08 +0000 (03:15 +0000)]
patch [#24760] Bezier handles update
from Dan Eicher (dna)

Made some edits to the patch because only the first spline was getting the updates.
also added path functions for splines and spline points (request from ZanQdo so splines can be keyframed).

10 years agothe 'Multi' option was not being copied with the armature modifier.
Campbell Barton [Wed, 17 Nov 2010 01:50:25 +0000 (01:50 +0000)]
the 'Multi' option was not being copied with the armature modifier.

10 years agoFixing bad ui range in camera draw size
Daniel Salazar [Wed, 17 Nov 2010 01:15:31 +0000 (01:15 +0000)]
Fixing bad ui range in camera draw size

10 years agoFix [#24592] COLLADA imports only one special node per type per node
Nathan Letwory [Tue, 16 Nov 2010 23:18:17 +0000 (23:18 +0000)]
Fix [#24592] COLLADA imports only one special node per type per node
Reported and patched by Martijn Berger

10 years agoApply patch [#24722] COLLADA exporter: handle instancing
Nathan Letwory [Tue, 16 Nov 2010 22:27:31 +0000 (22:27 +0000)]
Apply patch [#24722] COLLADA exporter: handle instancing
Submitted by Wenzel Jakob

Patch adds handling of linked meshes: instead of generating separate geometry objects, use instances.

10 years agobugfix [#24509] UV/Image Editor: selected elements move not as specified
Campbell Barton [Tue, 16 Nov 2010 17:37:26 +0000 (17:37 +0000)]
bugfix [#24509] UV/Image Editor: selected elements move not as specified

10 years agoBugfix #23677
Ton Roosendaal [Tue, 16 Nov 2010 17:10:39 +0000 (17:10 +0000)]
Bugfix #23677

Very old bug: Material/Render: the "filter" option for transparent
absorption also works for alpha==0, but in that case another part
of render code just didn't add the faces in render list.

10 years agoFix for [#24750] Particles draw percentage setting is not working in No Physics mode
Janne Karhu [Tue, 16 Nov 2010 16:56:21 +0000 (16:56 +0000)]
Fix for [#24750] Particles draw percentage setting is not working in No Physics mode

10 years agoFix for [#24706] 2.55 beta Hair now only rendering small fuzzy blob
Janne Karhu [Tue, 16 Nov 2010 16:39:35 +0000 (16:39 +0000)]
Fix for [#24706] 2.55 beta Hair now only rendering small fuzzy blob

10 years agooption to immediately write single render to a file added for OpenGL render.
Campbell Barton [Tue, 16 Nov 2010 15:15:20 +0000 (15:15 +0000)]
option to immediately write single render to a file added for OpenGL render.

10 years agobugfix [#24462] UV Layouts saved as PNG results in two files (rename bug)
Campbell Barton [Tue, 16 Nov 2010 14:45:27 +0000 (14:45 +0000)]
bugfix [#24462] UV Layouts saved as PNG results in two files (rename bug)
renaming failed in some cases, now we can just render to a file.

10 years agooption to write images to a files on single frame renders, this isn't accessed by...
Campbell Barton [Tue, 16 Nov 2010 14:40:46 +0000 (14:40 +0000)]
option to write images to a files on single frame renders, this isn't accessed by the UI at the moment, but could eventually be used for saving test-renders.

The main reason to have this is so renders can be scripted to write to a specific file without having to do annoying tricks like set a dummy start/end frame range, render an animation and work out the current frame image will be written to, then rename after rendering.

Also made some 'char *' args into 'const char *'

10 years agoBug #22585
Ton Roosendaal [Tue, 16 Nov 2010 13:41:39 +0000 (13:41 +0000)]
Bug #22585

Using texture nodes for displacement crashes, a conflict between using
nodes in render and for displacement at same time. Code simply disables
texture nodes for displacement for now, until we have better handling for it.
(on our long todo)

10 years agoCurve's UI minor fix:
Sergey Sharybin [Tue, 16 Nov 2010 13:25:21 +0000 (13:25 +0000)]
Curve's UI minor fix:

- "Use Deformed" replaced back with "Fill Deformed"
- Use a bit more informative tooltip for this option

10 years agoedits to image save operator, no functional changes.
Campbell Barton [Tue, 16 Nov 2010 13:08:24 +0000 (13:08 +0000)]
edits to image save operator, no functional changes.
- don't rename the image when saving (problematic if the image is used with linked libraries)
- file writing and path updating was duplicated for multilayer images.

10 years agoUV Layout Export was missing UV Layer check.
Campbell Barton [Tue, 16 Nov 2010 12:54:44 +0000 (12:54 +0000)]
UV Layout Export was missing UV Layer check.

10 years agoRemoving unnecesary print "draw swap exchange"
Ton Roosendaal [Tue, 16 Nov 2010 12:29:30 +0000 (12:29 +0000)]
Removing unnecesary print "draw swap exchange"

10 years agoFixed wrong rna name for the old "UV Orco" option.
Ton Roosendaal [Tue, 16 Nov 2010 12:10:57 +0000 (12:10 +0000)]
Fixed wrong rna name for the old "UV Orco" option.

It was called "map on length", but it actually makes the UV
values of curves/nurbs to become used as "Generated" texture
map input.

Sorry; this might break own local UI py script saves... :)

10 years agobugfix [#24747] Blender crash entering in Sculpt Mode
Campbell Barton [Tue, 16 Nov 2010 09:47:01 +0000 (09:47 +0000)]
bugfix [#24747] Blender crash entering in Sculpt Mode
 rotate_m4 was being called with a zero axis.

10 years agobugfix [#24746] Align Camera to View locks 3D Editor in Camera Perspective View
Campbell Barton [Tue, 16 Nov 2010 09:35:58 +0000 (09:35 +0000)]
bugfix [#24746] Align Camera to View locks 3D Editor in Camera Perspective View

10 years agofix for creating movie paths with non utf8 names.
Campbell Barton [Tue, 16 Nov 2010 08:53:55 +0000 (08:53 +0000)]
fix for creating movie paths with non utf8 names.
button test if non utf8 chars are allowed was inverted.

10 years agoFBX Export, small changes made while looking into reported bug. (no functional changes)
Campbell Barton [Tue, 16 Nov 2010 04:32:35 +0000 (04:32 +0000)]
FBX Export, small changes made while looking into reported bug. (no functional changes)
- Warn for armature deformed meshes which are scaled, these don't work quite the same as in blender, reported as [#24663].
- Use matrix.decompose() to convert a matrix to loc/rot/scale.
- get vert/edge/face lists for each mesh only once.
- faster euler rad -> deg conversion function.

10 years agofix for matrix * vector rotation order.
Campbell Barton [Tue, 16 Nov 2010 03:11:22 +0000 (03:11 +0000)]
fix for matrix * vector rotation order.

10 years agopatch [#24742] materials.pop() doesn't decrement user count
Campbell Barton [Tue, 16 Nov 2010 02:23:20 +0000 (02:23 +0000)]
patch [#24742] materials.pop() doesn't decrement user count
from Dan Eicher (dna)

10 years agopatch #24737] PyCObject depreciated in py3k [patch]
Campbell Barton [Tue, 16 Nov 2010 02:18:50 +0000 (02:18 +0000)]
patch #24737] PyCObject depreciated in py3k [patch]
from Dan Eicher (dna), use PyCapsule rather then PyCObject

10 years agofix for fix, r33086.
Campbell Barton [Tue, 16 Nov 2010 01:19:37 +0000 (01:19 +0000)]
fix for fix, r33086.
- incorrect range check broke ZYX euler rotations, use MIN/MAX constants so this doesn't happen again.
- BGE Armature PyAPI also wasn't using correct min/max with rotation modes.
- clamp on file read rather then when calling the rotation functions, so developers don't use invalid args without realizing it.
- added assert() checks for debug builds so invalid axis constants don't slip through.

10 years agoBugfix #24726
Ton Roosendaal [Mon, 15 Nov 2010 16:26:30 +0000 (16:26 +0000)]
Bugfix #24726

Doing F1-load a lot of times on same .blend could crash.
Janne karhu provided a potential fix, which is good to add
anyway. Will ask him to verify too.

Added XXX warning for these lines, after filesel exec no
context variables should be re-used. Is for later investigation.

10 years agoBugfix, reported in IRC
Ton Roosendaal [Mon, 15 Nov 2010 13:33:38 +0000 (13:33 +0000)]
Bugfix, reported in IRC

The enum "rotmode" was read using an array, without checking for boundary
cases, causing crashes on bad input. (Wahooney report 2, thanks!)

10 years agobugfix [#24696] Export OBJ - Selection Only toggle button has the wrong default state.
Campbell Barton [Mon, 15 Nov 2010 13:11:40 +0000 (13:11 +0000)]
bugfix [#24696] Export OBJ - Selection Only toggle button has the wrong default state.
Added convenience function to operators, 'as_keywords()', so operator settings can be passed directly to a function as keyword arguments.

The problem in this case was that dictionary access to operator properties was not returning rna-property defaults, so as_keywords() ensures all defaults are set.

10 years agoFix [#24310] With high poly numbers when sculpting, modifier keys hang
Nathan Letwory [Mon, 15 Nov 2010 12:05:11 +0000 (12:05 +0000)]
Fix [#24310] With high poly numbers when sculpting, modifier keys hang
reported by Eclectiel L

When working with very heavy scenes Blender can seem to 'hang' (not responding). Key events that happen
during this period may get lost, especially for modifier keys.

Adding extra handling to account for these situations.

10 years agoBugfix (IRC report)
Ton Roosendaal [Mon, 15 Nov 2010 11:45:54 +0000 (11:45 +0000)]
Bugfix (IRC report)

Bone drawing code failed to check the correnct parent pointer, causing
NULL pointer to be read. Thanks Wahooney!

10 years agoBugfix #24719: Layer ipocurves from Blender 2.49 wrongly ported to Blender 2.5x
Joshua Leung [Mon, 15 Nov 2010 10:48:48 +0000 (10:48 +0000)]
Bugfix #24719: Layer ipocurves from Blender 2.49 wrongly ported to Blender 2.5x

Found and fixed a few problems here, but strangely I don't recall seeing any of these a few months ago when this conversion (probably last) worked well ...

10 years agoFix [#24552] Exception when starting Blender on Windows XP SP3
Nathan Letwory [Mon, 15 Nov 2010 10:29:42 +0000 (10:29 +0000)]
Fix [#24552] Exception when starting Blender on Windows XP SP3
Reported by Ruud van Eeghem

Instead of running vcredist, which can fail when installing as normal user, have the DLLs
like our zip distribution bundled already inside install dir.

10 years agoFix for [#24724] Emission settings of Particles with no physics are stuck to Previous...
Janne Karhu [Mon, 15 Nov 2010 09:15:23 +0000 (09:15 +0000)]
Fix for [#24724] Emission settings of Particles with no physics are stuck to Previous newtonian settings.

10 years agofix for very old crash when setting an empty object as the camera and using stars.
Campbell Barton [Mon, 15 Nov 2010 09:00:09 +0000 (09:00 +0000)]
fix for very old crash when setting an empty object as the camera and using stars.

10 years agobugfix [#24708] World Notifier Problems
Campbell Barton [Mon, 15 Nov 2010 08:53:35 +0000 (08:53 +0000)]
bugfix [#24708] World Notifier Problems
also draw stars when 'Only Render' option is enabled.

10 years agobugfix [#24704] UV editor: [x] modified does not update on change of modifiers
Campbell Barton [Mon, 15 Nov 2010 08:03:20 +0000 (08:03 +0000)]
bugfix [#24704] UV editor: [x] modified does not update on change of modifiers
- VBO UV Edge display wasn't allocating a large enough array for drawing.
- VBO UV Edge drawing was using an edge flag with faces.
- notifier for modifiers updating the UV window.

10 years agobugfix [#24704] UV editor: [x] modified does not update on change of modifiers
Campbell Barton [Mon, 15 Nov 2010 07:07:14 +0000 (07:07 +0000)]
bugfix [#24704] UV editor: [x] modified does not update on change of modifiers

10 years ago- 'matrix_basis' for objects and pose bones, this is an alternative access to directl...
Campbell Barton [Mon, 15 Nov 2010 06:38:07 +0000 (06:38 +0000)]
- 'matrix_basis' for objects and pose bones, this is an alternative access to directly adjusting the loc/scale/rot.
- pose bone 'matrix_local' wasn't well named since it didn't work like object or regular bones.
- pose bone matrix values for rna had array access rather then 4x4 matrix access.

 note: for pose bones update scripts by renaming 'matrix_local' --> 'matrix_basis'

10 years agopatch from Dan Eicher to support intel C++ compiler for CMake on *nix.
Campbell Barton [Mon, 15 Nov 2010 05:32:49 +0000 (05:32 +0000)]
patch from Dan Eicher to support intel C++ compiler for CMake on *nix.

10 years agorevert change from r32955.
Campbell Barton [Mon, 15 Nov 2010 03:13:28 +0000 (03:13 +0000)]
revert change from r32955.
This added a poll function to the Panel base class but this means that all panels register as having a poll() function which is called a lot and does nothing, raising an exception and removing it because of how python implements hasattr().

Found when checking why exceptions were continuously raised on redraw.

Martin, can you check on netrender?

10 years agofix [#24712] 3ds_import fix
Campbell Barton [Mon, 15 Nov 2010 00:07:38 +0000 (00:07 +0000)]
fix [#24712] 3ds_import fix
Rather then applying the proposed fix, enabling 'Apply Transform' works in almost all cases including the reported one.

There are some files that don't work with 'Apply Transform', which is why the option is worth keeping.

also remove unneeded calls to paint_facesel_test()

10 years agocreating the editmesh structure was running paint_facesel_test() for every vert and...
Campbell Barton [Sun, 14 Nov 2010 23:37:03 +0000 (23:37 +0000)]
creating the editmesh structure was running paint_facesel_test() for every vert and selected face.
not so efficient, check once.

10 years agounreported fixes for 3ds import
Campbell Barton [Sun, 14 Nov 2010 22:30:51 +0000 (22:30 +0000)]
unreported fixes for 3ds import
- non ASCII names would break loading.
- meshes with no faces would break loading too.

10 years agonetrender
Martin Poirier [Sun, 14 Nov 2010 22:11:56 +0000 (22:11 +0000)]

Adding retries on initial slave connection.

10 years agor33039 added dependency to COLLADA for blenderplayer, but it's really not needed...
Nathan Letwory [Sun, 14 Nov 2010 20:40:55 +0000 (20:40 +0000)]
r33039 added dependency to COLLADA for blenderplayer, but it's really not needed there.

Stubbing for now.

10 years agoLogic UI bugfix: [#24628] two specific tooltips of keyboard sensor reversed
Dalai Felinto [Sun, 14 Nov 2010 19:46:14 +0000 (19:46 +0000)]
Logic UI bugfix: [#24628] two specific tooltips of keyboard sensor reversed
I also changed the order of them (target and log toggle) in the UI to match 2.49

10 years agoMove rotOrder to proper transform data structure
Martin Poirier [Sun, 14 Nov 2010 19:19:58 +0000 (19:19 +0000)]
Move rotOrder to proper transform data structure

10 years agoSeamless texture used for beveled curve is now really seamless (thanks to Mario G...
Sergey Sharybin [Sun, 14 Nov 2010 19:06:39 +0000 (19:06 +0000)]
Seamless texture used for beveled curve is now really seamless (thanks to Mario G. Kishalmi aka lmg)

10 years agoCorrect description for Projection property (it doesn't just work on vertice)
Martin Poirier [Sun, 14 Nov 2010 18:31:32 +0000 (18:31 +0000)]
Correct description for Projection property (it doesn't just work on vertice)

10 years agobugfix [#24697]
Martin Poirier [Sun, 14 Nov 2010 18:27:25 +0000 (18:27 +0000)]
bugfix [#24697]

Proper fix: change the poll function to reflect actual operator requirements.

10 years ago[#24639] Snap to Face (retopo) doesn't work when clipping is enabled in mirror modifier.
Martin Poirier [Sun, 14 Nov 2010 16:31:06 +0000 (16:31 +0000)]
[#24639] Snap to Face (retopo) doesn't work when clipping is enabled in mirror modifier.

Apply project snap at the very end.

10 years ago== filebrowser ==
Andrea Weikert [Sun, 14 Nov 2010 11:59:42 +0000 (11:59 +0000)]
== filebrowser ==
* compile fix on non-Windows platforms.

10 years ago== filebrowser ==
Andrea Weikert [Sun, 14 Nov 2010 10:53:49 +0000 (10:53 +0000)]
== filebrowser ==
* removed now unused function file_string_width_shortened.

10 years ago== filebrowser ==
Andrea Weikert [Sun, 14 Nov 2010 10:48:36 +0000 (10:48 +0000)]
== filebrowser ==
* drawing code cleanup.
* list drawing code now uses uiStyleFontDraw like buttons etc.

10 years agobugfix [#24668] Deleting armature objects removes a user from its action, eventually...
Campbell Barton [Sun, 14 Nov 2010 09:20:31 +0000 (09:20 +0000)]
bugfix [#24668] Deleting armature objects removes a user from its action, eventually leading to data loss

10 years agobugfix [#24697] Trying to run bpy.ops.transform.create_orientation crashes Blender
Campbell Barton [Sun, 14 Nov 2010 08:26:44 +0000 (08:26 +0000)]
bugfix [#24697] Trying to run bpy.ops.transform.create_orientation crashes Blender

10 years agoForgot to Add NodeLink to the Access Struct file.
Thomas Dinges [Sun, 14 Nov 2010 08:11:58 +0000 (08:11 +0000)]
Forgot to Add NodeLink to the Access Struct file.

10 years agobugfix [#24702] 3Dmanipulator does not display if view's layers are not synchronize...
Campbell Barton [Sun, 14 Nov 2010 07:49:07 +0000 (07:49 +0000)]
bugfix [#24702] 3Dmanipulator does not display if view's layers are not synchronize to scene's layers.

10 years agofix for own recent error, [#24695] column_vector_multiplication call writes past...
Campbell Barton [Sun, 14 Nov 2010 07:42:14 +0000 (07:42 +0000)]
fix for own recent error, [#24695] column_vector_multiplication call writes past end of array
was setting the vector array out of bounds with vec*=matrix, where the vector wasnt size 4.

10 years agofix for own error in recent commit. add a back NULL terminator to the string in text_...
Campbell Barton [Sun, 14 Nov 2010 07:28:53 +0000 (07:28 +0000)]
fix for own error in recent commit. add a back NULL terminator to the string in text_font_draw_character.

10 years agoupdate for mathutils vector/matrix order change.
Campbell Barton [Sun, 14 Nov 2010 07:02:55 +0000 (07:02 +0000)]
update for mathutils vector/matrix order change.

10 years agoPatch [#21942] Node links access by Andrey Izrantsev (bdancer) Thanks!
Thomas Dinges [Sat, 13 Nov 2010 22:38:33 +0000 (22:38 +0000)]
Patch [#21942] Node links access by Andrey Izrantsev (bdancer) Thanks!

This adds Node Link Acces in RNA.

10 years agoFix for [#24654] Sound Actuator doesn't find the file when Blender is reopened.
Joerg Mueller [Sat, 13 Nov 2010 13:44:45 +0000 (13:44 +0000)]
Fix for [#24654] Sound Actuator doesn't find the file when Blender is reopened.

10 years agoBugfix #20382
Ton Roosendaal [Fri, 12 Nov 2010 17:35:51 +0000 (17:35 +0000)]
Bugfix #20382

Fixed old annoyance in Search menu, with a load of object-mode
operators showing up in editmode.
It's much cleaner now, but it will take further work and
investigation to have context & polls work satisfying for all cases.

10 years agoMakefile fix for compiling with quicktime.
Ton Roosendaal [Fri, 12 Nov 2010 16:14:31 +0000 (16:14 +0000)]
Makefile fix for compiling with quicktime.

10 years agobugfix [#24661] Object.find_armature() only works on meshes
Campbell Barton [Fri, 12 Nov 2010 15:05:57 +0000 (15:05 +0000)]
bugfix [#24661] Object.find_armature() only works on meshes

10 years agoBugfix #24335
Ton Roosendaal [Fri, 12 Nov 2010 14:59:01 +0000 (14:59 +0000)]
Bugfix #24335

ZCombine node in compositor ignored alpha values. Enabling it
would break compatibility though, so it's a tickbox option now.

Patch provided by reporter, Martin Lubich. Thanks!

10 years agoHide "active" checkbox in ui for "fluid" type fluid objects as it's not used by fluidsim.
Janne Karhu [Fri, 12 Nov 2010 14:54:40 +0000 (14:54 +0000)]
Hide "active" checkbox in ui for "fluid" type fluid objects as it's not used by fluidsim.
* Response to report [#24670] Keyframe fluid on/off does not work

10 years agoRelated to #24653: added scene.collada_export() function, to use instead of an
Brecht Van Lommel [Fri, 12 Nov 2010 14:36:58 +0000 (14:36 +0000)]
Related to #24653: added scene.collada_export() function, to use instead of an
operator for external render engines, since operators should not be called in
the render() callback.

10 years agobugfix [#24682] Render artifacts with mat node
Campbell Barton [Fri, 12 Nov 2010 12:45:55 +0000 (12:45 +0000)]
bugfix [#24682] Render artifacts with mat node

10 years agoadd back red tint for zero user datablocks.
Campbell Barton [Fri, 12 Nov 2010 11:49:33 +0000 (11:49 +0000)]
add back red tint for zero user datablocks.

10 years agotake delta's into account when applying the objects matrix (dloc, drot, dsize).
Campbell Barton [Fri, 12 Nov 2010 11:16:04 +0000 (11:16 +0000)]
take delta's into account when applying the objects matrix (dloc, drot, dsize).
Now object_apply_mat4() can be used as the reverse of object_to_mat4().

Noticeable result is fly mode and 'Apply Visual Transform' dont jump when deltas are used, also means setting matrix from python works as expected.