forked from bartvdbraak/blender
spelling corrections.
This commit is contained in:
parent
70829f05da
commit
f3a9b7580e
@ -32,7 +32,7 @@ class SimpleMouseOperator(bpy.types.Operator):
|
|||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
# rather then printing, use the report function,
|
# rather then printing, use the report function,
|
||||||
# this way the messag appiers in the header,
|
# this way the message appears in the header,
|
||||||
self.report({'INFO'}, "Mouse coords are %d %d" % (self.x, self.y))
|
self.report({'INFO'}, "Mouse coords are %d %d" % (self.x, self.y))
|
||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ from bpy.props import StringProperty, BoolProperty, EnumProperty
|
|||||||
|
|
||||||
|
|
||||||
class ExportSomeData(bpy.types.Operator, ExportHelper):
|
class ExportSomeData(bpy.types.Operator, ExportHelper):
|
||||||
'''This appiers in the tooltip of the operator and in the generated docs.'''
|
'''This appears in the tooltip of the operator and in the generated docs.'''
|
||||||
bl_idname = "export.some_data" # this is important since its how bpy.ops.export.some_data is constructed
|
bl_idname = "export.some_data" # this is important since its how bpy.ops.export.some_data is constructed
|
||||||
bl_label = "Export Some Data"
|
bl_label = "Export Some Data"
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ void space_transform_invert(const struct SpaceTransform *data, float *co);
|
|||||||
* - Normal projection
|
* - Normal projection
|
||||||
*
|
*
|
||||||
* ShrinkwrapCalcData encapsulates all needed data for shrinkwrap functions.
|
* ShrinkwrapCalcData encapsulates all needed data for shrinkwrap functions.
|
||||||
* (So that you dont have to pass an enormous ammount of arguments to functions)
|
* (So that you dont have to pass an enormous amount of arguments to functions)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct Object;
|
struct Object;
|
||||||
|
@ -540,7 +540,7 @@ static int flyApply(bContext *C, FlyInfo *fly)
|
|||||||
{
|
{
|
||||||
|
|
||||||
#define FLY_ROTATE_FAC 2.5f /* more is faster */
|
#define FLY_ROTATE_FAC 2.5f /* more is faster */
|
||||||
#define FLY_ZUP_CORRECT_FAC 0.1f /* ammount to correct per step */
|
#define FLY_ZUP_CORRECT_FAC 0.1f /* amount to correct per step */
|
||||||
#define FLY_ZUP_CORRECT_ACCEL 0.05f /* increase upright momentum each step */
|
#define FLY_ZUP_CORRECT_ACCEL 0.05f /* increase upright momentum each step */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/* Clamps/Limits the given coordinate to: limits[0] <= co[axis] <= limits[1]
|
/* Clamps/Limits the given coordinate to: limits[0] <= co[axis] <= limits[1]
|
||||||
* The ammount of clamp is saved on dcut */
|
* The amount of clamp is saved on dcut */
|
||||||
static void axis_limit(int axis, const float limits[2], float co[3], float dcut[3])
|
static void axis_limit(int axis, const float limits[2], float co[3], float dcut[3])
|
||||||
{
|
{
|
||||||
float val = co[axis];
|
float val = co[axis];
|
||||||
|
@ -133,7 +133,7 @@ void reorganize(Node *root)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Prunes useless nodes from trees:
|
* Prunes useless nodes from trees:
|
||||||
* erases nodes with total ammount of primitives = 0
|
* erases nodes with total amount of primitives = 0
|
||||||
* prunes nodes with only one child (except if that child is a primitive)
|
* prunes nodes with only one child (except if that child is a primitive)
|
||||||
*/
|
*/
|
||||||
template<class Node>
|
template<class Node>
|
||||||
|
Loading…
Reference in New Issue
Block a user