Campbell Barton [Tue, 25 Jan 2011 08:35:10 +0000 (08:35 +0000)]
cmake maintenance, was missing 2 headers and made some minor improvements to cmake_consistency_check.py.
also converted GHOST_SystemWin32.cpp to utf8.
Campbell Barton [Tue, 25 Jan 2011 07:31:11 +0000 (07:31 +0000)]
improve unregister error check not to loop over parent classes properties (would check the same property multiple times)
Campbell Barton [Tue, 25 Jan 2011 06:54:57 +0000 (06:54 +0000)]
fix [#25748] Addons register parameters/functions more than once
- values were added to both the classes __dict__ as well as the internal StructRNA.
- made properties available from the type since this is where the python api assigns them:
>>> bpy.types.Scene.frame_start
<bpy_struct, IntProperty("frame_start")>
- rename RNA_struct_type_properties() -> RNA_struct_type_properties(), added RNA_struct_type_find_property()
Campbell Barton [Tue, 25 Jan 2011 05:45:21 +0000 (05:45 +0000)]
property lookups on structs was doing a listbase search even if the hash was defined.
since the property hash is maintained there is no reason for this, especially since the property could be in the StructRNA's parent class.
Campbell Barton [Tue, 25 Jan 2011 01:51:28 +0000 (01:51 +0000)]
fix [#25778] Memoryblock Data from SCR: end corrupt
+ other minor changes.
Sergey Sharybin [Mon, 24 Jan 2011 18:21:55 +0000 (18:21 +0000)]
Todo item: text editor does not honour continuous grab(see
Added OPTYPE_GRAB_POINTER flag to scrolling operator, changed a bit logic of
delta calculation and removed unused members from TextScroll structure.
Got issue with very-fast mouse moving (when mouse pointer could go out of window,
but it's general issue for all grab operator).
Was unable to check MOUSEPAN event (two-finger scroll). Please poke me if
there are any issues with this event.
Campbell Barton [Mon, 24 Jan 2011 15:25:03 +0000 (15:25 +0000)]
fix [#25757] Torus script uses radians for rotation in panel
Nathan Letwory [Mon, 24 Jan 2011 14:37:10 +0000 (14:37 +0000)]
Fix [#25715] [!] key doesn't work on french keyboard with Windows XP/7.\nSubmitted by Eric Le Pape\n\nThe key sent VK_OEM_8, which wasn't handled at all. Added code to detect primary language and handle VK_OEM_8 specifically for certain layouts.
Sergey Sharybin [Mon, 24 Jan 2011 10:10:50 +0000 (10:10 +0000)]
Todo item: text editor scroll bar does not respond to clicks
Text space's scroll bar now uses quite the same strategy of handling
drag and click events as view2d.
I tried to share some code between this two spaces. but there was no big
luck with it: text sace uses it's own constants (like scroll bas size and offsets),
so the simpliest way was to define zone stuff for text space without sharing it
with view2d.
Campbell Barton [Mon, 24 Jan 2011 05:15:14 +0000 (05:15 +0000)]
fix [#25776] Crash when operator's bl_idname has more than one dot
Campbell Barton [Mon, 24 Jan 2011 03:38:34 +0000 (03:38 +0000)]
Raise an exception when registering classes with ID names which are too long. (related to bug ), found while looking into bug [#25776].
Campbell Barton [Mon, 24 Jan 2011 02:56:23 +0000 (02:56 +0000)]
no functional changes.
- remove unneeded casts to (char*) in interface code.
- replace strcmp(.., "") with checks on the first char of the string.
Ton Roosendaal [Sun, 23 Jan 2011 19:20:10 +0000 (19:20 +0000)]
Small fix for text input buttons:
Number buttons, in text input mode, now also align internally
like text buttons.
Dalai Felinto [Sun, 23 Jan 2011 17:25:27 +0000 (17:25 +0000)]
BGE: option in the UI to start with the mouse cursor visible. Patch by Vitor Balbio, changes by me.
----------------------------------
While we are more and more moving towards enabling features in the Python API, it's also important to have Logic Bricks working with no scripts.
This option allows you to start the game with the mouse cursor on (it's on Render Buttons). The defalt is still off (no do_version needed here).
Benoit Bolsee [Sun, 23 Jan 2011 17:17:21 +0000 (17:17 +0000)]
BGE: support modifiers without mapping to original mesh both graphically and physically, fixes bug #24942 and #25286.
Support for physics is done by skiping the modifiers that
don't support mapping to original mesh. This mapping is
required to report the hit polygon to the application
by the rayCast() function.
Support for graphics is done by using the same render
function that blender uses for the 3D view. This guantees
equal result.
Limitation: there is still a known bug if all these conditions are met:
- Display list enabled
- Old tex face with a several textures mapped to the same material
- no armature or shape keys
- active modifiers
In this case, only a part of the mesh will be rendered
with the wrong texture. To avoid this bug, use the GLSL
materials or make sure to have 1 material=1 texture in
your old tex face objects.
Janne Karhu [Sun, 23 Jan 2011 14:04:31 +0000 (14:04 +0000)]
Some ui reorganization of the physics tab:
* Before the different simulations all had a panel with an "add this" button making the whole tab look really messy. It also rarely makes sense to have more than one or two physics things enabled for a single object, so having all the panels in the tab just added a great deal of visual clutter.
* Now there is a single "enable physics for" panel at the top that allows for enable/disable of any simulation. All actual physics panels are hidden until a simulation is enabled.
* There was no "add" button for force fields before, but I added a toggle between "none" and "force" to unify the ui even further.
Janne Karhu [Sun, 23 Jan 2011 13:52:24 +0000 (13:52 +0000)]
Panels that have the "no header" flag set are now always drawn first in a tab regardless of the order they were registered.
* This is a quick and simple workaround until we can define proper ordering for the panels.
Campbell Barton [Sun, 23 Jan 2011 13:34:36 +0000 (13:34 +0000)]
update testing md5's for changes in exporters.
Campbell Barton [Sun, 23 Jan 2011 12:42:07 +0000 (12:42 +0000)]
correct own bad spelling
Campbell Barton [Sun, 23 Jan 2011 11:42:29 +0000 (11:42 +0000)]
- fix problem with cmake, windows 'RelWithDebInfo' target, was giving error: "ImportError: No module named _socket" because of copying wrong files over.
- move test -> tests, this name is used elsewhere in lib/tests.
- change interface code not to loop on a float value (clang warning), harmless, but with extreme cases an eternal loop would still be possible though unlikely.
Campbell Barton [Sun, 23 Jan 2011 08:37:34 +0000 (08:37 +0000)]
bugfix + minor mathutils.Vector edits.
- multiplying a 2D vector by a 3x3 or 4x4 matrix would use un-initialized memory, now throw an exception.
- use more variable length array BLI_math functions.
Dalai Felinto [Sun, 23 Jan 2011 04:54:23 +0000 (04:54 +0000)]
Logic UI: ParentActuator fix + PropertyActuator tooltip improvement
ParentActuator: sub options only available when mode==setParent + deactive ghost option when compound is true (isntead of saying that in the tooltip)
PropertyActuator: I never knew that you could pass a property name to the Add and Assign options of the Property Actuator. Where it's by design or a side effect is cool. And a tooltip explaining that does help.
Janne Karhu [Sat, 22 Jan 2011 21:22:29 +0000 (21:22 +0000)]
Own mistake in fluid particles ui cleanup commit.
* Emission tab was shown without particle settings.
Janne Karhu [Sat, 22 Jan 2011 21:13:29 +0000 (21:13 +0000)]
Bug fix: pre 2.5 particles that were using old memory caching didn't load properly
* Now the old cache is just freed so that new calculations can be done.
* The particle dynamics regression test files should display correctly now.
Janne Karhu [Sat, 22 Jan 2011 20:38:27 +0000 (20:38 +0000)]
"Fix" for [#25766] Fluid Particle Bugs
* Argh, particles tab was showing the whole "non applicable settings for fluid particles"-galore as the particle type "fluid" can't be checked from rna using the settings type value. Now the ui is a lot cleaner and only settings that actually effect the fluid particles are shown.
Ton Roosendaal [Sat, 22 Jan 2011 18:00:11 +0000 (18:00 +0000)]
Small fix from the todo:
"Modal cursors" now remain visible, until reset. These cursors
were reset already on edges. Example: 3d view toolbar, grease
pencil. Do note, only use WM_cursor_modal() on real modal tools,
and restore it at end.
Ton Roosendaal [Sat, 22 Jan 2011 15:34:20 +0000 (15:34 +0000)]
Bugfix #25761
Move-to-layer in 3D window didn't work for linked library objects.
That should be possible, as was in 2.49. Layer property is local.
Janne Karhu [Sat, 22 Jan 2011 14:44:04 +0000 (14:44 +0000)]
Fix for [#25664] Remove Pack does not work in Texture panel
* Unpack menu option "Remove Pack" didn't get a pointer to the image to be unpacked. This worked from image view by using the active image, but not from texture panel.
Janne Karhu [Sat, 22 Jan 2011 14:13:36 +0000 (14:13 +0000)]
Temporary fix for [#25735] Softbody don't work in linked groups, not generate cache
* The whole case of lib linking and pointcaches is not very well defined currently, but this fix sets the behavior of sb to the same as other physics currently.
* A proper fix will be easy to implement after a good physics baking ui is added.
Campbell Barton [Sat, 22 Jan 2011 04:40:15 +0000 (04:40 +0000)]
own fix r34446, was incorrect, fixed properly now.
Campbell Barton [Sat, 22 Jan 2011 04:13:13 +0000 (04:13 +0000)]
error in own recent commit, r34445
Campbell Barton [Sat, 22 Jan 2011 04:02:54 +0000 (04:02 +0000)]
fix for makesdna error.
ERROR: still 1 structs unknown
*** Unknown structs :
PreviewImage
Campbell Barton [Sat, 22 Jan 2011 03:50:09 +0000 (03:50 +0000)]
comment dead code and fix 2 missing NULL checks (pointer used after NULL check and checking against incorrect pointer before use).
Campbell Barton [Fri, 21 Jan 2011 11:52:56 +0000 (11:52 +0000)]
correction to own cmake error checking script.
Campbell Barton [Fri, 21 Jan 2011 10:49:39 +0000 (10:49 +0000)]
PLY and STL importer tests.
Dalai Felinto [Fri, 21 Jan 2011 08:59:08 +0000 (08:59 +0000)]
Logic UI + missing listener in Outliner - changes on Armature Sensor and Visibility Actuator
* fix for armature sensor (Status Changed doesn't use any value to evaluate itself) + renamed "Test Type" to "Test"
* visibility tooltip was wrong - now we can change visibility from the physic buttons instead of the outliner
* bonus * when you change the visibility from the physics panel the icon in the outliner wasn't changing
Dalai Felinto [Fri, 21 Jan 2011 06:12:56 +0000 (06:12 +0000)]
Logic UI: more tooltips, adding (blank = all objects) for the Property field of the physic sensors + using PROP_ANGLE for Radar Sensor
(to work in tooltips bring good karma !)
Campbell Barton [Fri, 21 Jan 2011 05:09:32 +0000 (05:09 +0000)]
bugfix [#25712] Deletion of vertex groups under script control causes incorrect reassignment of vertices in other groups
vgroup functions were mixing up active group and one passed as an argument.
also made other changes.
- removed superfluous call to defvert_find_index() in vgroup_delete_object_mode(), was also doing unnecessary NULL check on each loop.
- remove paranoid NULL check from ED_vgroup_vert_remove, callers all check for valid 'ob'
Dalai Felinto [Fri, 21 Jan 2011 04:07:32 +0000 (04:07 +0000)]
BGE Logic UI: Near Sensor tooltip update
Campbell Barton [Fri, 21 Jan 2011 03:18:01 +0000 (03:18 +0000)]
change mathutils.Matrix.Shear() for 3x3 or 4x4 matrices
The plane which defined the shear had the factor applied to each axis equally.
This meant that the shear for any 3x3 or 4x4 matrix would be diagonal on the positive values of each axis.
Only being able to create diagonal shear matrices seems stupid, now take a pair of floats for the shear factor corresponding to the plane axis values, so its possible to shear on only one axis of the plane.
Campbell Barton [Fri, 21 Jan 2011 02:32:58 +0000 (02:32 +0000)]
correct spelling
Campbell Barton [Fri, 21 Jan 2011 02:27:04 +0000 (02:27 +0000)]
[#25732] Incorrect shear matrix in XY plane
fix included by Lawrence D'Oliveiro (ldo)
Guillermo S. Romero [Fri, 21 Jan 2011 00:33:37 +0000 (00:33 +0000)]
SVN maintenance.
Campbell Barton [Fri, 21 Jan 2011 00:06:30 +0000 (00:06 +0000)]
import/export automated testing using CMake's CTest
Will need to write full docs on this on the wiki.
basic info.
- 21 tests, OBJ/3DS/X3D/FBX, 3 tests per format import export. STL, PLY, BVH are TODO.
- uses files in ../lib/tests (checkout separate)
- run with CMake Makefiles "make test" or "ctest"
- currently checks against basic MD5 hash on scene import and file MD5 hash on export (realize this wont work predictably on binary formats *TODO*).
- currently uses a generic script for all tests with arguments to specify command to run, expected output, testing method, files to check against etc.
Has already proved useful, found a number of bugs in import export and some in blender too.
Campbell Barton [Thu, 20 Jan 2011 23:05:25 +0000 (23:05 +0000)]
correct fix for [#25737] Console error message
Joshua Leung [Thu, 20 Jan 2011 22:22:16 +0000 (22:22 +0000)]
- Bugfix: NLA "duplicate" operator now lets strips get moved between
tracks too, instead of only sliding around on the track they were
defined on.
- Adding description fields for many (older) operators that lacked
them
Joshua Leung [Thu, 20 Jan 2011 21:46:11 +0000 (21:46 +0000)]
Bugfix [#25737] Console error message
It seems that rna_def_effect() is missing a rna_def_input(), resulting
in:
rna_uiItemR: property not found:
EffectSequence.animation_offset_start
rna_uiItemR: property not found: EffectSequence.animation_offset_end
in the console. I'm not sure whether these settings are used for
"effect" strips or not, but I'll leave that to sequencer guys to
figure out if/when they get a report about this.
Campbell Barton [Thu, 20 Jan 2011 21:02:42 +0000 (21:02 +0000)]
bugfix [#25742] blender-thumbnailer.py doesn't work with python 3.1
Joshua Leung [Thu, 20 Jan 2011 20:51:38 +0000 (20:51 +0000)]
Small code reshuffle... sequencer transform stuff was bisecting the
code for object transform stuff
Diego Borghetti [Thu, 20 Jan 2011 20:24:18 +0000 (20:24 +0000)]
Ghost:X11 Set the default max width and max height value.
Some window manager can set default value of this to be the
screen size, so running blender with -p or --window-geometry
don't work with value bigger than that.
This commit try to "avoid" the bug #25709, but at the end
depend on the window manager, so maybe work or maybe not.
Ton Roosendaal [Thu, 20 Jan 2011 18:34:48 +0000 (18:34 +0000)]
Bugfix #25656
Fixed one of oldest annoyances in Blender: the text input button!
It always behaved stupid when you had clipped text in a button.
Now while using arrows the cursor will move as expected, and only
internally shift contents when cursor reaches edge of button.
Ton Roosendaal [Thu, 20 Jan 2011 16:29:43 +0000 (16:29 +0000)]
Bugfix #25619
Paint modes: toolbar showed the preview image with double scaling applied,
so if UI zoomed in the image grew outside boundary.
Ton Roosendaal [Thu, 20 Jan 2011 15:17:02 +0000 (15:17 +0000)]
Bugfix #25611
Pose Proxy: layer settings only saved the 16 bits for proxy armatures, was
still a short, whilst the other layer settings use ints.
Joshua Leung [Thu, 20 Jan 2011 09:26:36 +0000 (09:26 +0000)]
NLA Tool Bugfixes:
- Swap strips operator crashed when it encountered an empty track
- Duplicating NLA strips was renaming the wrong strips - the old ones
would always get renamed, which was annoying
Campbell Barton [Thu, 20 Jan 2011 07:44:58 +0000 (07:44 +0000)]
no functional change,
- remove G.flag, its not used anywhere (and confusing with G.f).
- also remove strcpy where memory locations may overlap.
Campbell Barton [Thu, 20 Jan 2011 07:41:25 +0000 (07:41 +0000)]
fix for bug where python functions were not raising exceptions because reports were not added to the list in background mode.
Campbell Barton [Thu, 20 Jan 2011 07:38:00 +0000 (07:38 +0000)]
don't set the path to ~/untitled.blend on initializing the WM, this isn't well defined how this behavior should work,
existing behavior was inconsistent since loading a new file would set the path to "".
Joshua Leung [Wed, 19 Jan 2011 23:05:02 +0000 (23:05 +0000)]
NLA backend code cleanups: Ensure all user-count management is done
via id_us_*() functions instead of direct access, for more security
Joshua Leung [Wed, 19 Jan 2011 22:49:09 +0000 (22:49 +0000)]
Bugfix [#25721] Unable to delete grease pencil data blocks
Missing check for id-block users before saving
Campbell Barton [Wed, 19 Jan 2011 21:30:23 +0000 (21:30 +0000)]
Command line options to set blender system environment variables.
Added because CTest has no convenient way to set environment vars for commands it runs.
--env-system-config -> BLENDER_SYSTEM_CONFIG
--env-system-datafiles -> BLENDER_SYSTEM_DATAFILES
--env-system-scripts -> BLENDER_SYSTEM_SCRIPTS
--env-system-plugins -> BLENDER_SYSTEM_PLUGINS
--env-system-python -> BLENDER_SYSTEM_PYTHON
Campbell Barton [Wed, 19 Jan 2011 19:58:44 +0000 (19:58 +0000)]
set variable as unused.
Ton Roosendaal [Wed, 19 Jan 2011 18:07:13 +0000 (18:07 +0000)]
Bugfix #25613
Dropping file in Blender from pre 2.5 period caused eternal loop
loading .blend files :)
Ton Roosendaal [Wed, 19 Jan 2011 17:10:05 +0000 (17:10 +0000)]
Bugfix #25720
Preview icons got lost... commit of yesterday caused it.
Conflict between preview render icons, and brush icons...
Ton Roosendaal [Wed, 19 Jan 2011 14:19:20 +0000 (14:19 +0000)]
Bugfix #25652
Report was that move-to-layer menu failed. The real cause was
more complex; had to dive deep in the dungeons of the interface
code that handled undos and operators. Found several issues:
- popup menus (like redo operator, color picker) executed again
on a mouse-exit
- far too many buttons were sending undo pushes; even worse, in
the operator redo-panel each button action was pushed twice
- in case operator redo-buttons have own callbacks (like layer
buttons) the redo wasn't working
- layerbutton menu was called without creating a proper undo/redo
case
Things should all work smoother now!
On todo:
- better definition and handling of all versions for operator menus
(four types now, not fun)
also: make operator "do" menu, which on first action does operator
and then switches to redo-ing
- bring back Undo menu, to list the undo stack and jump in it.
Lukas Toenne [Wed, 19 Jan 2011 13:32:59 +0000 (13:32 +0000)]
Changed Brightness/Contrast node to use also buffer inputs for the B/C inputs. These were only working with single values.
Joshua Leung [Wed, 19 Jan 2011 10:54:34 +0000 (10:54 +0000)]
Added missing updates for NLA RNA settings
Joshua Leung [Wed, 19 Jan 2011 10:45:35 +0000 (10:45 +0000)]
NLA Editor: Added "Sync Action Length" operator to Edit menu
Although strictly-speaking, this only applies to a certain type of NLA
Strip (there are 3 types), but since only the classic "Action Clip"
gets much attention, it's probably worth exposing this here too to
make batch editing of strips a bit easier.
Janne Karhu [Wed, 19 Jan 2011 09:33:09 +0000 (09:33 +0000)]
Fix for [#25705] Crashing doing Bake in Partile System in Particle Mode
* Missing null check.
Campbell Barton [Wed, 19 Jan 2011 09:13:24 +0000 (09:13 +0000)]
new command line option '--factory-startup' to skip reading startup.blend. useful for testing with a predictable environment.
also commented python benchmark prints on exit, can enable when profiling later.
Joshua Leung [Tue, 18 Jan 2011 23:38:36 +0000 (23:38 +0000)]
NLA Editor: Swap Strips (Alt-F) and Bugfixes
1) Added a new operator to swap the order of strips within a track
(Alt-F).
This makes it possible to select two strips (or more precisely, two
islands of consecutive + selected strips) in a single track and change
the order in which the appear without needing a extra tracks to
perform the move through.
As usual, the non-overlapping rules apply, so there may be some cases
where swapping in this way is not possible without adjusting the
intermediate strips first manually. Otherwise, everything just gets
too tricky to manage deciding what adjustments should be done to the
obstructing strips to make a fit.
2) Freeing meta-strips didn't free their local data properly (i.e.
modifiers they may have had).
3) Adding strips to tracks, where the endframes for the strips
overlapped would cause problems with incorrect ordering of strips. I
still need to double-check whether evaluation works ok in this case...
Campbell Barton [Tue, 18 Jan 2011 23:12:02 +0000 (23:12 +0000)]
move release/test to source/test, there is nothing release about this dir.
Dalai Felinto [Tue, 18 Jan 2011 22:27:18 +0000 (22:27 +0000)]
BGE BugFix [#25711]render.setBackgroundColor() does not work:
Since rev.2 (hans ftw) we have a strange situation where horizon color was being used at Convert time for the WorldInfo background color (and for the fog). However through the Python API only the Rasterizer background color was being updated. On top of that the KX_KetsjiEngine.cpp::SetBackGround was using the WorldInfo bgcolor when render mode was the potato one (TEXTURED). Bottomline, when in potato mode the glClearColor used was the original one in worldinfo, not the API updated one in Rasterized.
Campbell Barton [Tue, 18 Jan 2011 21:39:50 +0000 (21:39 +0000)]
support building with python3.2
Damien Plisson [Tue, 18 Jan 2011 20:53:20 +0000 (20:53 +0000)]
Fix [#25678]: (Ghost Cocoa) Fix character encoding translation for filenames (open & window title display)
Konrad Kleine [Tue, 18 Jan 2011 15:02:58 +0000 (15:02 +0000)]
Fix for "[#25700] 2.56: Rotation Mode: Quaternion shows wrong orientation of the object".
There was a small typing error that made object and armatures rotate twice the magnitude when in quaternion rotation mode.
Lukas Toenne [Tue, 18 Jan 2011 14:49:06 +0000 (14:49 +0000)]
Added group verification after autoconnect to avoid linked+external group sockets.
Ton Roosendaal [Tue, 18 Jan 2011 14:34:59 +0000 (14:34 +0000)]
Bugfix, irc report: general view3d operator poll() was reading NULL
caused by commit for fix [#25691] 16 hours ago.
Lukas Toenne [Tue, 18 Jan 2011 13:28:18 +0000 (13:28 +0000)]
Added a check in nodeGroupVerify to detect if a tree is actually a group tree. This is necessary to avoid the group-in-group error if the function is called for a tree that already contains group nodes.
Campbell Barton [Tue, 18 Jan 2011 11:27:52 +0000 (11:27 +0000)]
rename fcurve.keyframe_points.add() --> insert()
add new add function which allocates a number of points instead.
Janne Karhu [Tue, 18 Jan 2011 09:25:37 +0000 (09:25 +0000)]
Bug fix: particle dynamics were being calculated if point cache was only half baked (reported by Michael Fox in #blendercoders)
* When a simulation is baked no dynamics calculations should happen anymore (even outside of baked frame range) since these can be very time consuming and baked simulations are supposed to be fast!
Campbell Barton [Tue, 18 Jan 2011 06:35:26 +0000 (06:35 +0000)]
recent commit broke Mesh.from_pydata()
Nicholas Bishop [Tue, 18 Jan 2011 04:32:41 +0000 (04:32 +0000)]
Small fix for my last fix: ignore the `preview' flag; if either size
has been marked for update then do it regardless. Otherwise changing
the texture type doesn't always update the brush texture preview.
Nicholas Bishop [Tue, 18 Jan 2011 04:08:01 +0000 (04:08 +0000)]
More fixes for bug [#25649], Image editor paint icon missing until
enter weight paint, hopefully fully fixed this time
* The texture selector for brushes wasn't updating. Seems that preview
images have two sizes, small (icon) and big, but it was only
updating if the icon size was set to update. Now both are checked.
* Also changed the previewimage arrays to use the already-existing
PREVIEW_MIPMAPS define, makes it a little clearer what the arrays
are for.
Campbell Barton [Tue, 18 Jan 2011 03:49:28 +0000 (03:49 +0000)]
bgl.Buffer()
- invalid dimension type could be passed without raising an error.
- negative dimensions could crash blender, now they raise errors.
- zero length dimension arg was not detected.
- floating point lengths were accepted, now only allow ints.
also comment unused vars.
Campbell Barton [Tue, 18 Jan 2011 01:58:19 +0000 (01:58 +0000)]
bad spelling; 'indicies' --> 'indices'
Campbell Barton [Tue, 18 Jan 2011 01:38:14 +0000 (01:38 +0000)]
document Mesh.from_pydata() [#25688] undocumted functions in pyapi
Joshua Leung [Tue, 18 Jan 2011 01:04:14 +0000 (01:04 +0000)]
Bugfix [#25684b] Surface and Stroke options are not working with Use
Sketching Sessions.
Fix for secondary issue noted in this bug report. Some of the code for
the fancy 3d view sketching options needed to be moved around so that
there is a clearer "paint/sketch session" and "stroke" separation
between various stages. There's still some more stuff that needs to be
done here before I think it's totally cleaned up.
Campbell Barton [Tue, 18 Jan 2011 00:10:11 +0000 (00:10 +0000)]
option for the path iterator to loop over packed files so their dir separator can be switched on file load.
Campbell Barton [Mon, 17 Jan 2011 23:47:11 +0000 (23:47 +0000)]
fix [#25694] Center View (Home Key)
Campbell Barton [Mon, 17 Jan 2011 23:30:28 +0000 (23:30 +0000)]
fix missing notifier [#25682] bpy.data.materials['XXX'].texture_slot.clear(0) dosen't delete texture from screen
Campbell Barton [Mon, 17 Jan 2011 22:37:24 +0000 (22:37 +0000)]
fix [#25691] Lasso select on 3D Text editing segfaults
poll function was incorrect.
Andrea Weikert [Mon, 17 Jan 2011 20:10:18 +0000 (20:10 +0000)]
== file browser ==
bring back nice shortening of filenames in thumbnail view, shortening at front and end is confusing.
- adds ... at the end to indicate that the filename has been shortened
- also cuts off at the end and not at both front and end now
Note: maybe this can be moved into button code or so in the future, but for now should work.
Andrea Weikert [Mon, 17 Jan 2011 19:39:25 +0000 (19:39 +0000)]
fix compile on MinGW, missing define in the mingw headers.
Ton Roosendaal [Mon, 17 Jan 2011 18:38:44 +0000 (18:38 +0000)]
Bugfix 25683
Compositor operators now have better poll check, so they won't
show up in operator search or hotkeys for other node views.
- backimage move, size
- read renderlayers
Ton Roosendaal [Mon, 17 Jan 2011 18:16:10 +0000 (18:16 +0000)]
Bugfix #25657
Three code fixes for 1 report. User experienced crashes while
painting on float buffer + having preview renders on.
- Texture Nodes: Image was re-allocated without using
proper thread lock
- Paint code: old convention to free the byte rect from
a float image as signal to re-create now is a proper
flag. This keeps image memory unchanged. Nice for render.
- Imbuf: call to make a byte rect from float was freeing
mipmaps unnecessary.
Ton Roosendaal [Mon, 17 Jan 2011 15:16:08 +0000 (15:16 +0000)]
Bugfix #25681
Python API allowed to make links with input->output reversed.
Now node api checks for this case and flips order.
Nathan Letwory [Mon, 17 Jan 2011 10:47:31 +0000 (10:47 +0000)]
test commit for svn link in commit mail, part two
Nathan Letwory [Mon, 17 Jan 2011 10:43:51 +0000 (10:43 +0000)]
test commit for svn link in commit mail
Joshua Leung [Mon, 17 Jan 2011 10:35:04 +0000 (10:35 +0000)]
Bugfix [#25667] "X-Axis Mirror" in the Pose Options panel toolbar is
misleading (?)
"X-Axis Mirror" option didn't work in Pose Mode, so hiding this option
for now. Perhaps one day we could properly support this for all
operators there, but that is more of a long term todo...
Campbell Barton [Mon, 17 Jan 2011 08:31:57 +0000 (08:31 +0000)]
misc maintenance changes
- metaball tessellation functuion was calculating density when it didn't need to.
- image drawing was using a float as a loop counter, in extreme cases this could cause an infinite loop.
- remove/comment unused vars.