Ken Hughes
afadfa54bd
source/blender/src/buttons_editing.c:
...
Fix C90 variable declaration in function body
source/blender/src/editaction.c:
remove unused variable
2007-03-17 15:00:11 +00:00
Ken Hughes
83e72cc813
Fix various gcc warning, unused variables and incorrect type passed to
...
*printf functions.
2007-03-17 14:46:04 +00:00
Ken Hughes
8e43b3f950
More fix various gcc warning, mainly related to signed/unsigned parameters
...
passed in general.
2007-03-17 14:43:52 +00:00
Ken Hughes
4e72e4ad2b
Fix various gcc warning related to signed/unsigned parameters passed to
...
OpenGL functions.
2007-03-17 14:15:02 +00:00
Joshua Leung
bd04d23465
When pressing XKEY or DELETE in NLA/Action/IPO editors, you are no
...
longer asked whether you want to delete the selected markers or keys.
Instead, it more 'logically' deletes anything that is selected.
2007-03-17 05:50:47 +00:00
Ken Hughes
b00f592992
Python API
...
----------
Bug reported on IRC: Object.setEuler(0,0,0) threw an exception. Change so
it will accept (0,0,0), ((0,0,0), ([0,0,0]), or an euler.
2007-03-17 03:19:41 +00:00
Campbell Barton
2ee75aec15
some dealloc's I removed didnt get automaticly added back in by python, fixed now
2007-03-16 14:44:31 +00:00
Campbell Barton
bc1fdcd858
type initialization updates, and refcount fix for lamp, reverted some changes to NMesh
2007-03-16 11:38:02 +00:00
Ton Roosendaal
c5f4a0a1b0
Patch #5460 by Juho V
...
Switch screen hotkey, CTRL+Left/Rightarrow now cycles.
2007-03-16 11:36:47 +00:00
Ton Roosendaal
dc9a21f25b
Patch #6121 by Diego Borghetti
...
Create/delete vertex groups now is possible in Object mode too (using the
buttons in editbuttons).
2007-03-16 11:29:40 +00:00
Ken Hughes
001939bd66
Python API
...
----------
Bugfix #6255 : Library.Load() failed on some blend files prior to 2.43.
Consolidated some code to make Python and Blender UI more in common. Also
fixed some compiler warnings in the process.
2007-03-16 05:39:30 +00:00
Ken Hughes
115b65ce7c
Fix numerous gcc warnings.
2007-03-16 05:03:38 +00:00
Nicholas Bishop
e4881c25c5
Fixed array declaration in sculptmode.c
2007-03-15 20:19:34 +00:00
Campbell Barton
2be1b26a1a
PyApi,
...
missing incref's for materials color values.
2007-03-15 14:57:00 +00:00
Kent Mein
6b55850116
This is a fix for bug #6100
...
When using international fonts, blender was assuming that the
default language on the system was chinese.
Now it checks to see what language code you have selected and
if its chinese or japanese it converts those to utf8 and then
continues to translate them.
I can't fully check this so will need others to test it. This
should at least be better now.
Kent
2007-03-15 12:34:44 +00:00
Ton Roosendaal
7272bdff76
Patch #6264
...
Pointer check added to prevent "Jkey" (swap render display buffers) to
crash in cases. Patch by Diego Borghetti.
2007-03-15 08:59:29 +00:00
Campbell Barton
52e43441d1
removed unneeded dealloc functions
2007-03-15 01:47:53 +00:00
Campbell Barton
ee5dc4d0bf
removed duplicate functionality, macro's and functions existed to check a PyObjects type, now only use macro's
2007-03-15 01:09:14 +00:00
Nicholas Bishop
a567e43628
== Sculpt Mode ==
...
* Added new brush, "Flatten". This brush pushes vertices along the normal defined by the average normal of each vertex within the brush area. The vertices are pushed towards the plane defined by vertices towards the edge of the brush. Essentially, this means that the direction of flattening is dependent on the surface beneath the brush.
* In order to make space for the flatten brush, the controls inside the Sculpt palette were widened to 268. (Note that the panel width didn't change, so it still fits properly in the vertical layout.)
* Todo: it would probably make sense to make the "View" slider available under the Brush tab available for the Flatten brush (currently it's only used for the Draw brush.)
2007-03-14 20:00:01 +00:00
Stephen Swaney
26aa15969f
attempted fixage for gcc warnings with Python 2.5
2007-03-14 16:38:58 +00:00
Stephen Swaney
981d24daa1
fix gcc warnings about no newline at end of file
2007-03-14 16:09:12 +00:00
Campbell Barton
6b584a6504
many menu items would crash blender if there was no 3d view. added checks.
2007-03-14 09:08:41 +00:00
Campbell Barton
5d234230bf
apply the 3ds matrix to the mesh, This fixes some 3ds files and breaks others, but it seems to follow the 3ds format. for the files it messes up, just remove transformation.
2007-03-14 06:01:59 +00:00
Campbell Barton
5c5a80f644
made all python types that can do .__copy__(), also do .copy()
...
added copy function to lamp, texture and ipo types
2007-03-14 03:01:24 +00:00
Campbell Barton
d3ae4b9944
disabled Object.Duplicate() in background mode bacause it needs the 3d view, added a note in the docs.
2007-03-14 02:11:42 +00:00
Andrea Weikert
4badc5da7a
==== MSVC 7.1 projectfiles ====
...
- small update, added missing files.
2007-03-13 18:23:05 +00:00
Campbell Barton
ed31a7c6bb
[ #6214 ] Select object of the same group.
...
rewritten to find the groups that an object is apart of only once (less listbase searching).
with the limitation of 24 maximum in the menu.
2007-03-13 16:15:59 +00:00
Campbell Barton
5ae20c6eaf
renamed norepeatX/Y to ClampX/Y
2007-03-13 12:50:36 +00:00
Ton Roosendaal
a8b41017f1
Bugfix #6211
...
Group nodes with animation nodes inside (like Time) did not get updated
correctly.
I also noticed that with time Nodes, the hotkey "E" (execute) fails to do
a composite after frame changes, fixed that too.
2007-03-13 12:20:55 +00:00
Campbell Barton
df1df624ac
added back videoscape for python
2007-03-13 11:54:53 +00:00
Campbell Barton
0745133528
removed videoscape support, a format from 1988 that nobody uses anymore.
2007-03-13 10:00:27 +00:00
Campbell Barton
56b9617ce0
exiting editmesh when in face select mode could result in hidden and selected faces.
2007-03-13 03:05:12 +00:00
Kent Mein
844d6f9aa6
patch [ #6213 ] msvc had problems with GL_CLAMP_TO_EDGE being undefined
...
on some systems. If its undefined define it.
Kent
2007-03-13 00:06:37 +00:00
Ken Hughes
f9b20a37b2
Python API
...
----------
Chris Want on IRC pointed out a grammatical error in the Bpy doc file. While fixing
it, I found about a dozen more.
2007-03-12 19:45:42 +00:00
Ton Roosendaal
f523cce837
Bugfix #6167
...
Metaball delete could crash, if selected/active ball is not the 'mother'
ball.
2007-03-12 16:27:20 +00:00
Ton Roosendaal
f82e278528
Bugfix #6181
...
An acos() getting a negative value caused 'ray trace shadow bias' to go
wrong (and object render entirely black). Only in very rare cases... but
nevertheless a nice discovery fixing other unpredictable issues.
(Symptom: entire object renders black)
2007-03-12 14:25:44 +00:00
Ton Roosendaal
4697a9d9de
Bugfix #6183
...
Option "Align view to selected face(s)" (shift+v) did not work for non-
uniform scaled objects.
2007-03-12 13:31:47 +00:00
Ton Roosendaal
8044f9d280
Bugfix #6173
...
Dupliverts + shaded mode did not work; patch provided by Riku Palomäk
(tonttu)
2007-03-12 10:30:39 +00:00
Campbell Barton
021cd4aac3
python api
...
removed most custom add_*data* wrappers from Main.c
removed makeCurrent() from Text.c (was never in a release), use "bpy.texts.active = text" now
clamp new image sizes
made add_empty_action accept a string rather then a blocktype since the blocktype was only being used to choose one of 3 strings anyway.
2007-03-12 06:21:58 +00:00
Campbell Barton
268fdb7425
added no-xtile and no-ytile to the images realtime properties and python api.
2007-03-12 01:43:11 +00:00
Brecht Van Lommel
ffd91ac726
Fix for bug #6127 :
...
Import scripts could create meshes with old style edgecodes.
2007-03-12 00:30:46 +00:00
Ken Hughes
508a24269b
Python API
...
----------
Fixed some broken/disabled Texture attributes after Image refactor.
Added texture.autoRefresh attribute.
2007-03-11 18:20:55 +00:00
Ken Hughes
d60b05254d
Remove gcc compiler warnings from various files.
2007-03-11 17:31:27 +00:00
Campbell Barton
e0c77c0f14
made all data adding functions accept a name such as add_mesh or add_curve, previously only some datatypes adding functions accepted a name.
...
also updated the Bpy.py epydocs
2007-03-11 16:25:17 +00:00
Campbell Barton
f84c02429e
Documentation for the new automatically imported "bpy" module. (was Blender.Main)
2007-03-11 12:35:01 +00:00
Joseph Eagar
dcd74620e5
=Cineon Bug=
...
In my attempts to get cinepaint's cineon code to work with files in memory,
I accidently rewrote something that should have been left as it is. This
causes images whose image buffers didn't start right after the cineon header to
become "shifted" to the left.
The DPX code looks correct, though.
2007-03-11 12:27:57 +00:00
Ton Roosendaal
d0d9899e76
Bugfix #6201
...
Shape key drivers were not copied correctly, when choosing the option
"ADD NEW Scene -> Full copy".
2007-03-11 12:14:50 +00:00
Joshua Leung
64f7994454
Action Editor - Remove unused code.
...
Nothing ever called that part of code, and that code was
'not implemented' anyway.
2007-03-11 04:39:19 +00:00
Campbell Barton
1135434ed1
moved python functions that deal with blender libdata into gen_library.c from gen_utils and BPY_interface
...
small cleanup, removed unused functions and explicetly cast pointers..
2007-03-11 04:05:45 +00:00
Campbell Barton
36eba6eb6c
PyApi: fix for own bad bug, obdata was having a user removed when the object was removed with (scene.objects.unlink(ob))
2007-03-10 12:37:03 +00:00