blender.git
8 years agouse 'const char *' for imbuf and file ops.
Campbell Barton [Fri, 19 Nov 2010 02:14:18 +0000 (02:14 +0000)]
use 'const char *' for imbuf and file ops.

8 years agoremove unused argument.
Campbell Barton [Fri, 19 Nov 2010 01:06:46 +0000 (01:06 +0000)]
remove unused argument.

8 years agoBugfix #24795: Typo fix in particle_system.c
Joshua Leung [Thu, 18 Nov 2010 23:48:55 +0000 (23:48 +0000)]
Bugfix #24795: Typo fix in particle_system.c

Also, fixed indention in armature.c (stupid space-based indention)

8 years agoAlgorithm fix for fluid particles:
Janne Karhu [Thu, 18 Nov 2010 19:12:36 +0000 (19:12 +0000)]
Algorithm fix for fluid particles:
* The SPH fluid particle algorithm was implemented a bit wrong. This problem could for example result in the fluid moving sideways after being dropped straight to a horizontal collision surface, a very big no-no as far as real world physics are concerned!
* After some extensive code shuffling the algorithm is now much more true to the paper it was implemented from, and more importantly now the physics should be correct too!
* The main thing was that fluids calculations can effect many particles simultaneously, so just a single loop through all particles can't work properly. As a side note this also means that the actual fluid algorithm can't be made threaded :(
* To make things work I also had to reshuffle some general particle physics code, but there should be no functional changes what so ever to other physics types, so poke me immediately if something strange happens.

Note to users: these changes will most probably effect the way previously done sph fluid simulations look, so some parameter tweaking will be needed to get things back looking the way they were.

8 years agoBugfix #22052
Ton Roosendaal [Thu, 18 Nov 2010 19:11:05 +0000 (19:11 +0000)]
Bugfix #22052

OpenGL viewport render gave squeezed results in cases.
Reason: some graphics cards only give offscreen buffers in multiples
of 256 or 512 (my case).

Current fix uses the actual size returned by graphics card, which
is also safe for too large renders.
More elaborate cropping or matching is for another time.

(Added printf for feedback on this, might disappear)

8 years agoFeature fix
Ton Roosendaal [Thu, 18 Nov 2010 16:38:32 +0000 (16:38 +0000)]
Feature fix

When using Material Nodes, there was no indication in Material
Property window which node was active. The context/channel widget
now shows this.

Better would be to be able to browse nodes in this list, and
to have option to preview only this material (not node tree
result). Enough todo for future :)

8 years agobugfix [#22615] Opening a blend file in python (bpy.ops.wm.open_mainfile() (r29489)
Campbell Barton [Thu, 18 Nov 2010 16:33:13 +0000 (16:33 +0000)]
bugfix [#22615] Opening a blend file in python (bpy.ops.wm.open_mainfile() (r29489)
       [#22557] bpy.ops.wm.read_homefile() causes segfault (r29372)

8 years agofix [#24786] Setting Rotation Units to Radians doesn't affect the UI [33146]
Campbell Barton [Thu, 18 Nov 2010 14:10:09 +0000 (14:10 +0000)]
fix [#24786] Setting Rotation Units to Radians doesn't affect the UI [33146]

8 years agomissed removing the file for scons.
Campbell Barton [Thu, 18 Nov 2010 13:52:09 +0000 (13:52 +0000)]
missed removing the file for scons.

8 years agoremove unused classes.
Campbell Barton [Thu, 18 Nov 2010 12:54:05 +0000 (12:54 +0000)]
remove unused classes.

8 years agorename libs internal libs for CMake + SCons (used in MSVC project files)
Campbell Barton [Thu, 18 Nov 2010 11:42:05 +0000 (11:42 +0000)]
rename libs internal libs for CMake + SCons (used in MSVC project files)
for game engine use "ge_" prefix & make names generally more descriptive.

8 years agopatch [#24736] 3ds import hierarchy
Campbell Barton [Thu, 18 Nov 2010 10:36:14 +0000 (10:36 +0000)]
patch [#24736] 3ds import hierarchy
from Dominique Lorre (dlorre)
- fixes [#24626] 3ds import assigns wrong positions to objects
- spec info http://www.the-labs.com/Blender/3dsspec.html, http://www.martinreddy.net/gfx/3d/3DS.spec

This patch adds parent/child support to the 3ds importer.

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

8 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

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

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

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

8 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'

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

8 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

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

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

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

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

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

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

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

8 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]

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

8 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

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

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

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

8 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

8 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

8 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

8 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:
http://www.pasteall.org/pic/show.php?id=6351

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

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

8 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

8 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

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

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

8 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

8 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

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

8 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

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

8 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

8 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

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

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

8 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 *'

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

8 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

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

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

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

8 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... :)

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

8 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

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

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

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

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

8 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

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

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

8 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!)

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

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

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

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

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

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

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

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

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

8 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

8 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'

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

8 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?

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

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

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

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

Adding retries on initial slave connection.

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

8 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

8 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

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

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

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

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

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

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

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

8 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

8 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

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

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

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

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